Add support for grml2hd
[grml-unittests.git] / grml2usb / 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