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 …

docker hands-on guide: minikube with kvm on ubuntu 17.10 vm

kubectl installation oldhorse@ubdev:~$ curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 64.2M 100 64.2M 0 0 355k 0 0:03:05 0:03:05 –:–:– 83005 oldhorse@ubdev:~$ chmod +x ./kubectl oldhorse@ubdev:~$ sudo mv ./kubectl /usr/local/bin/kubectl verify by oldhorse@ubdev:~$ …