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 bootstrap-node.yml && \
|
||||||
ansible-playbook init-cluster.yml
|
ansible-playbook init-cluster.yml
|
||||||
}
|
}
|
||||||
InstallIngress () {
|
#InstallIngress () {
|
||||||
|
#
|
||||||
}
|
#}
|
||||||
|
|
||||||
if [ ! -f ${bootflag} ]; then
|
if [ ! -f ${bootflag} ]; then
|
||||||
touch ${bootflag}
|
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'
|
wget='wget -cq4O'
|
||||||
###
|
###
|
||||||
installvm() {
|
installvm() {
|
||||||
|
echo "Allocating ${vmsize} disk..."
|
||||||
fallocate -l ${vmsize} ${k8sdsk}
|
fallocate -l ${vmsize} ${k8sdsk}
|
||||||
echo "Downloading Debian installer..."
|
echo "Downloading Linux kernel..."
|
||||||
${wget} ${apptmp}/kernel ${httpboot}/linux
|
${wget} ${apptmp}/kernel ${httpboot}/linux
|
||||||
|
echo "Downloading Initial ramdisk..."
|
||||||
${wget} ${apptmp}/initrd ${httpboot}/initrd.gz
|
${wget} ${apptmp}/initrd ${httpboot}/initrd.gz
|
||||||
echo "Preparing K8S VM..."
|
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
|
rm -f ${apptmp}/kernel ${apptmp}/initrd
|
||||||
}
|
}
|
||||||
runvm() {
|
runvm() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue