vagrant pain point on 2nd Hostonly NIC setup

vagrant stuck at "Setting hostname" for private network setup ==> ctosbox2: Setting hostname… debug log from debug log, it used hostnamectl to change hostname, then will restart network service, DEBUG ssh: stderr: 41e57d38-b4f7-4e46-9c38-13873d338b86-vagrant-sshDEBUG ssh: stderr: cat: /etc/photon-release: No such file or directoryDEBUG ssh: Exit status: 1 DEBUG guest: Trying: redhat …

create centos7 k8s vagrant box from dreamcloud-centos7

launch dev vm it is based on my dev ready vagrant box dreancloud/centos7. create project folder $ mdkir ~/vagrant/centos7k8sbox $ cd ~/vagrant/centos7k8sbox prepare the Vagrantfile, then boot up the vm, $ vagrant up Bringing machine ‘centos7k8s’ up with ‘virtualbox’ provider… ==> centos7k8s: Importing base box ‘dreamcloud/centos7’… ==> centos7k8s: Matching MAC …

launch k8s cluster using vagrant box dreamcloud-centos7k8s

launch k8s cluster using vagrant box dreamcloud-centos7k8s dreamcloud/centos7k8s is a docker/k8s ready box, here is demo to show how to launch a 2 nodes k8s cluster in few mins using vagrant. tool set vagant 2.0.1 virtualbox 5.1.30 cmder/msys64, I use portabledevops which seamless integrated with vagrant/virtualbox prepare Vagrantfile $ cd …

launch centos dev vm from dreamcloud-centos7

I build dreamcloud/centos7 vagrant box as practise, it is a dev ready vm: Guest Tool, shared folder gcc/git/python/pip Here is demo how to launch centos vm from this base, add 2nd host-only interface for private network. Vagrantfile vagrant up $ vagrant up Bringing machine ‘centos7dev’ up with ‘virtualbox’ provider… ==> …

create ubuntu k8s vagrant box from dreamcloud-ubuntu17.10

launch ubuntu dev vm it is based on my dev ready vagrant box dreamcloud/ubuntu17.10. create project folder $ mdkir ~/vagrant/ub17k8sbox $ cd ~/vagrant/ub17k8sbox prepare the Vagrantfile, then boot up the vm, $ vagrant up $ vagrant ssh reset ssh keypair The reason I re-init ssh keypair for new vm ub17k8s …

launch k8s cluster using vagrant box dreamcloud-ub17k8s

dreamcloud/ub17k8s is a docker/k8s ready box, here is demo to show how to launch a 2 nodes k8s cluster in few mins using vagrant. tool set vagant 2.0.1 virtualbox 5.1.30 cmder/msys64, I use portabledevops which seamless integrated with vagrant/virtualbox prepare Vagrantfile $ mkdir ~/vagrant/k8stest $ curl -LO https://raw.githubusercontent.com/robertluwang/docker-hands-on-guide/master/dreamcloud-vagrant/ub17k8s/Vagrantfile assume the …

launch ubuntu dev vm from dreamcloud-ubuntu17.10

launch ubuntu dev vm from dreamcloud-ubuntu17.10 I build [dreamcloud/ubuntu17.10]() vagrant box as practise, it is a dev ready vm: Guest Tool, shared folder ifupdown which removed from ubuntu 17.10 standard release gcc/git/python/pip Here is demo how to launch ubuntu vm from this base, add 2nd host-only interface for private network. …

create ubuntu 17.10 vagrant box from scratch

install ubuntu server 17.10 download iso from link create new vm memory 1024MB disk 50GB dynamic Audio, USB disable first NIC is NAT, 10.0.2.0/24 for Internet access, add port forward in virtualbox setting: 127.0.0.1:2220 to guest 22 user vagrant/vagrant NAT setup NAT NIC enp0s3 is up, 2: enp0s3: mtu 1500 …

How to manually download vagrant box and install it

find download path here is download link format: https://atlas.hashicorp.com/$boxrelease/providers/virtualbox.box from vagrant site find the release info https://app.vagrantup.com/ubuntu/boxes/artful64/versions/20171220.0.0 so $boxrelease=ubuntu/boxes/artful64/versions/20171220.0.0 this is real download link, https://atlas.hashicorp.com/ubuntu/boxes/artful64/versions/20171220.0.0/providers/virtualbox.box copy and paste to browser, will download, or from cli, $ curl -Lo ubuntu-artful64-vagrant.box https://atlas.hashicorp.com/ubuntu/boxes/artful64/versions/20171220.0.0/providers/virtualbox.box % Total % Received % Xferd Average Speed Time Time …