Launch ubuntu18 dev vm from dreamcloud-ubuntu18

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

gateone web terminal in WSL ubuntu

gateone HTML5-powered terminal emulator and SSH client download gateone 1.1 source https://github.com/liftoff/GateOne/downloads $ wget https://github.com/downloads/liftoff/GateOne/gateone-1.1.tar.gz install gateone from source $ tar zxvf gateone*.tar.gz; cd gateone*; sudo python setup.py install the gateone 1.1 released by 2012, only working well with tornado 2.4.1 $ pip install tornado==2.4.1 running gateone sudo python gateone.py …

create kvm vm from iso plus kickstart

download centos7 iso move iso to /var/lib/libvirt/boot ## prepare centos 7 kickstart file insert below line to standard kickstart file, to setup console mode for kickstart, %post –logfile=/root/grubby.log /sbin/grubby –update-kernel=ALL –args=”console=ttyS0″ %end create vm from iso + ks virt-install –name testvm-ks \ –nographics \ –location /var/lib/libvirt/boot/CentOS-7-x86_64-Minimal-1708.iso \ –initrd-inject /root/centos7-ks.cfg \ …

virt-install mis-setting driver type to raw when import qcow2

generate qcow2 base image virt-builder centos-7.6 \ –format qcow2 \ –size 20G -o /var/lib/libvist/boot/centos-7.6-20G.qcow2 verified type of disk is qcow2 by qemu-img info /var/lib/libvist/boot/centos-7.6-20G.qcow2 will use this base image as template for future vm quick launch. clone base image disk to vm disk cp /var/lib/libvist/boot/centos-7.6-20G.qcow2 /var/lib/libvist/images/testvm.qcow2 create vm testvm by …

libvirtd failure after latest upgrade in rhel/centos7

libvirtd down after upgrade [root@tripleo ~]# systemctl status libvirtd.service ● libvirtd.service – Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit) since Sat 2018-12-15 11:10:40 EST; 10s ago Docs: man:libvirtd(8) https://libvirt.org Process: 2507 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=3) Main PID: 2507 (code=exited, status=3) Tasks: 2 (limit: 32768) …

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 …

Post setup for ubuntu desktop 17.04 vmware vm

vmware config 1 CPU 4G memory 100GB harddisk network: NAT test NAT Internet access oldhorse@ubdev:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND — YOUR CHANGES WILL BE OVERWRITTEN # 127.0.0.53 is the systemd-resolved stub resolver. # run …