From abc8d04f2ff21354f327116f9257b62a433da5ec Mon Sep 17 00:00:00 2001 From: D4rk4 Date: Fri, 31 Jul 2020 16:53:50 +0200 Subject: [PATCH] fix --- contrib/firstboot.sh | 6 +++--- runme.sh | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/contrib/firstboot.sh b/contrib/firstboot.sh index 566e92c..5e58420 100755 --- a/contrib/firstboot.sh +++ b/contrib/firstboot.sh @@ -13,9 +13,9 @@ k8sDeploy () { ansible-playbook bootstrap-node.yml && \ ansible-playbook init-cluster.yml } -InstallIngress () { - -} +#InstallIngress () { +# +#} if [ ! -f ${bootflag} ]; then touch ${bootflag} diff --git a/runme.sh b/runme.sh index 3cc038c..dcffc60 100755 --- a/runme.sh +++ b/runme.sh @@ -11,12 +11,15 @@ qemu="${appdir}/contrib/qemu-system-x86_64 -L ${appdir}/contrib/share/qemu -net wget='wget -cq4O' ### installvm() { + echo "Allocating ${vmsize} disk..." fallocate -l ${vmsize} ${k8sdsk} - echo "Downloading Debian installer..." + echo "Downloading Linux kernel..." ${wget} ${apptmp}/kernel ${httpboot}/linux + echo "Downloading Initial ramdisk..." ${wget} ${apptmp}/initrd ${httpboot}/initrd.gz echo "Preparing K8S VM..." - ${qemu} -kernel ${apptmp}/kernel -initrd ${apptmp}/initrd -append "console=ttyS0,115200n8 apt-setup/proposed=true nomodeset fb=false priority=critical locale=en_US url=${seed}" + ${qemu} -kernel ${apptmp}/kernel -initrd ${apptmp}/initrd -append "console=ttyS0,115200n8 apt-setup/proposed=true nomodeset fb=false priority=critical locale=en_US url=${seed}" + echo "Housekeeping..." rm -f ${apptmp}/kernel ${apptmp}/initrd } runvm() {