Skip to content

Commit c1e321d

Browse files
authored
Fix Readme for installation issues. (#73)
1 parent db9831f commit c1e321d

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ This project can also be used as a template for writing your own metal-stack dep
2525
- kvm as hypervisor for the VMs
2626
- Ubuntu 20.04:
2727

28-
sudo apt install -y qemu qemu-kvm libvirt-daemon bridge-utils virtinst libvirt-dev
28+
sudo apt update
29+
sudo apt install -y qemu qemu-kvm libvirt-daemon bridge-utils virtinst libvirt-dev git curl build-essential wget
2930

3031
- [docker](https://www.docker.com/) >= 18.09 (for using kind and our deployment base image)
3132
- [docker-compose](https://docs.docker.com/compose/) >= 1.25.4 (for ease of use and for parallelizing control plane and partition deployment)
@@ -43,17 +44,24 @@ curl -fsSL https://get.docker.com | sh
4344
# instructions at https://docs.docker.com/engine/install/ubuntu/
4445

4546
# Install vagrant and other stuff
46-
wget https://releases.hashicorp.com/vagrant/2.2.9/vagrant_2.2.9_x86_64.deb
47-
sudo apt-get install ./vagrant_2.2.9_x86_64.deb qemu-kvm virt-manager ovmf net-tools libvirt-dev haveged
47+
wget https://releases.hashicorp.com/vagrant/2.2.14/vagrant_2.2.14_x86_64.deb
48+
sudo apt-get install ./vagrant_2.2.14_x86_64.deb qemu-kvm virt-manager ovmf net-tools libvirt-dev haveged
4849

49-
# Ensure that your user is member of the group "libvirt"
50-
# possibly you need to login again in order to make this change take effect
51-
sudo usermod -G libvirt -a ${USER}
50+
# Ensure that your user is member of the group "libvirt" and "docker"
51+
# you need to login again in order to make this change take effect
52+
sudo usermod -G libvirt,docker -a ${USER}
5253

5354
# Install libvirt plugin for vagrant
5455
vagrant plugin install vagrant-libvirt
5556

56-
# Install kind from https://github.com/kubernetes-sigs/kind/releases
57+
# Install kind (kubernetes in docker), for more details see https://kind.sigs.k8s.io/docs/user/quick-start/#installation
58+
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
59+
chmod +x ./kind
60+
sudo mv ./kind /usr/local/bin/kind
61+
62+
# Install docker-compose, for more details see https://docs.docker.com/compose/install/
63+
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
64+
sudo chmod +x /usr/local/bin/docker-compose
5765
```
5866

5967
The following ports are getting used statically:
@@ -77,6 +85,8 @@ The following ports are getting used statically:
7785
Start the mini-lab with a kind cluster, a metal-api instance as well as some vagrant VMs with two leaf switches and two machine skeletons.
7886

7987
```bash
88+
git clone https://github.com/metal-stack/mini-lab.git
89+
cd mini-lab
8090
make
8191
```
8292

0 commit comments

Comments
 (0)