fix
This commit is contained in:
parent
bcca957c21
commit
abc8d04f2f
2 changed files with 8 additions and 5 deletions
|
@ -13,9 +13,9 @@ k8sDeploy () {
|
|||
ansible-playbook bootstrap-node.yml && \
|
||||
ansible-playbook init-cluster.yml
|
||||
}
|
||||
InstallIngress () {
|
||||
|
||||
}
|
||||
#InstallIngress () {
|
||||
#
|
||||
#}
|
||||
|
||||
if [ ! -f ${bootflag} ]; then
|
||||
touch ${bootflag}
|
||||
|
|
5
runme.sh
5
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}"
|
||||
echo "Housekeeping..."
|
||||
rm -f ${apptmp}/kernel ${apptmp}/initrd
|
||||
}
|
||||
runvm() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue