diff --git a/files/grub-addon-amd64.cfg b/files/grub-addon-amd64.cfg new file mode 100644 index 0000000..d68fd99 --- /dev/null +++ b/files/grub-addon-amd64.cfg @@ -0,0 +1,14 @@ +menuentry "debcore-x86_64" { + linux /wit-pxeboot/vmlinuz-amd64 console=tty0 console=ttyS1,115200n8 size=5000 + initrd /wit-pxeboot/initramfs-amd64.gz +} + +menuentry "install-x86_64" { + linux /wit-pxeboot/vmlinuz-amd64 console=tty0 console=ttyS1,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1' + initrd /wit-pxeboot/initramfs-amd64.gz +} + +#label installbastion +# kernel wit-pxeboot/vmlinuz +# append initrd=wit-pxeboot/initramfs.gz acpi=off console=tty0 console=ttyS1,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export ANSIBLEPULL="--extra-vars=bastion_bootstrap=true --accept-host-key --key-file=/tmp/id_rsa --url=git@git.wit.com:netops/ansible.git bastion-usw3-temp.yaml"; export INSTALLEXTRA="git ansible"; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1' --- +# diff --git a/files/grub-addon-arm64.cfg b/files/grub-addon-arm64.cfg new file mode 100644 index 0000000..f2f5a99 --- /dev/null +++ b/files/grub-addon-arm64.cfg @@ -0,0 +1,15 @@ +menuentry "debcore-arm64" { + linux /wit-pxeboot/vmlinuz-arm64 console=tty0 console=ttyAMA0,115200n8 size=5000 + initrd /wit-pxeboot/initramfs-arm64.gz +} + +menuentry "install-arm64" { + linux /wit-pxeboot/vmlinuz-arm64 console=tty0 console=ttyAMA0,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export INSTALLEXTRA=wit-config; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1' + initrd /wit-pxeboot/initramfs-arm64.gz +} + +# +#label installbastion +# kernel wit-pxeboot/vmlinuz +# append initrd=wit-pxeboot/initramfs.gz acpi=off console=tty0 console=ttyS1,115200n8 size=5000 execstartup='sleep 60; export LANG=C; export DEBIAN_FRONTEND=noninteractive; export ANSIBLEPULL="--extra-vars=bastion_bootstrap=true --accept-host-key --key-file=/tmp/id_rsa --url=git@git.wit.com:netops/ansible.git bastion-usw3-temp.yaml"; export INSTALLEXTRA="git ansible"; apt-get update && apt-get install -y wit-localinstaller && /usr/bin/create_local_install.sh || exit 1' --- +#