From 044146703f35342bcf58025624128a2eb635ee29 Mon Sep 17 00:00:00 2001 From: Khanak Nangia Date: Wed, 4 Sep 2019 12:22:06 -0700 Subject: [PATCH] adding detailed instructions for vagrant setup on clear linux (#173) * adding detailed instructions for vagrant setup on clear linux * adding all the dependencies together --- clr-k8s-examples/vagrant.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/clr-k8s-examples/vagrant.md b/clr-k8s-examples/vagrant.md index a2d73a8..22801a9 100644 --- a/clr-k8s-examples/vagrant.md +++ b/clr-k8s-examples/vagrant.md @@ -36,10 +36,18 @@ Note, vagrant installation steps were derived from: On Clear Linux, run these commands ```bash -sudo wget https://raw.githubusercontent.com/AntonioMeireles/ClearLinux-packer/master/extras/clearlinux/setup/libvirtd.sh +sudo swupd update +``` +Make sure all the prerequisite packages are installed +```bash +sudo swupd bundle-add unzip rsync wget kvm-host +``` +Now, run the following scripts +```bash +wget https://raw.githubusercontent.com/AntonioMeireles/ClearLinux-packer/master/extras/clearlinux/setup/libvirtd.sh chmod +x libvirtd.sh ./libvirtd.sh -sudo wget https://raw.githubusercontent.com/AntonioMeireles/ClearLinux-packer/master/extras/clearlinux/setup/vagrant.sh +wget https://raw.githubusercontent.com/AntonioMeireles/ClearLinux-packer/master/extras/clearlinux/setup/vagrant.sh chmod +x vagrant.sh ./vagrant.sh ``` @@ -51,3 +59,7 @@ Run vagrant ```bash vagrant up --provider=libvirt ``` +You can check the vagrant status using the following command +```bash +vagrant status +```