Add tests for grml-debootstrap
[grml-unittests.git] / grml-debootstrap / deploy.sh
1 #!/bin/zsh
2
3 . /etc/grml/autoconfig.functions
4
5 STATUS=$(getbootparam status)
6 sfdisk /dev/sda <<EOF
7 0 88 0x0c
8 ;
9 EOF
10
11
12 yes y | grml2usb --force --fat16 --bootoptions="netscript=$STATUS/DONE" /live/image /dev/sda1
13 shutdown -h now