Launch Ubuntu 20.04 k8s 1.21.4 cluster using vagrant box

Launch Ubuntu 20.04 k8s 1.21.4 cluster using vagrant box dreamcloud/ubuntu20-k8s is a k8s dev ready box, here is demo to show how to launch a 3 nodes k8s cluster in few mins using vagrant. tool set Vagrant 2.2.10 Virtualbox 6.1 prepare Vagrantfile $ mkdir /mnt/c/vagrant/ub20k8s $ curl -LO https://raw.githubusercontent.com/robertluwang/dreamcloud-vagrant/master/ubuntu20-k8s/Vagrantfile assume …

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) …

pytoolbar – a python toolbar demo in Tkinter

pytoolbar – a python toolbar demo in Tkinter features toolbar gui, run in window or unix/linux desktop, it’s always on top of desktop security protected login(predefined login user: pytoolbar/demo,test/test) customized search bar, predefined google, github, oxford dictionary, bab.la English-Chinese dictionary, wikipedia search engines, easy to extend customized tool button for …