TODO
In the following code snippets the following two variables are used
Module Size Used by | |
ip_vs_rr 12600 32 | |
xt_ipvs 12663 6 | |
ip_vs 141092 35 ip_vs_rr,xt_ipvs | |
xt_nat 12681 60 | |
veth 13410 0 | |
vxlan 45114 0 | |
ip6_udp_tunnel 12755 1 vxlan | |
udp_tunnel 13373 1 vxlan | |
iptable_mangle 12695 5 |
INFO global: Vagrant version: 2.2.1 | |
INFO global: Ruby version: 2.4.4 | |
INFO global: RubyGems version: 2.6.14.1 | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.1/gems/vagrant-2.2.1/bin/vagrant" | |
INFO global: VAGRANT_LOG="debug" | |
WARN global: resolv replacement has not been enabled! | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.2.1/gems/vagrant-2.2.1/plugins/synced_folders/nfs/plugin.rb |
First download alpine-make-vm-image from https://github.com/alpinelinux/alpine-make-vm-image
wget https://raw.githubusercontent.com/alpinelinux/alpine-make-vm-image/v0.4.0/alpine-make-vm-image \
&& echo '5fb3270e0d665e51b908e1755b40e9c9156917c0 alpine-make-vm-image' | sha1sum -c \
|| exit 1
mv alpine-make-vm-image /usr/local/bin/
chmod +x /usr/local/bin/alpine-make-vm-image
Create a new alpine qcow2 image
#compdef notes | |
local line state | |
_arguments -C \ | |
"1:Command:(ls search edit rm help)" \ | |
"2:arg:->args" | |
if [[ "$state" == "args" ]] | |
then | |
case "$line[1]" in |