X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=3cccbca4d02eabdf874ba0ac74b347f2ff9376c2;hp=493ed7a74ac1b401f9cfd324a2d243fb9892f38b;hb=6c597252744ccc9ba7608188a41a3006e97b20b1;hpb=6cf66c73c8d9067c5836246ad7c3d51529c683c5;ds=sidebyside diff --git a/grml-debootstrap b/grml-debootstrap index 493ed7a..3cccbca 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -96,6 +96,7 @@ Configuration options: --nointerfaces Do not copy /etc/network/interfaces from host system to target system. (This option is automatically enabled when using --vmfile.) + --nokernel Skip installation of default kernel images. --debconf Pre-seed packages using specified pre-seed db file. --grmlrepos Enable Grml's Debian repository (deb.grml.org). --backportrepos Enable Debian's backports repository (backports.debian.org). @@ -332,6 +333,7 @@ fi [ "$_opt_password" ] && ROOTPASSWORD=$_opt_password [ "$_opt_nopassword" ] && NOPASSWORD='yes' [ "$_opt_nointerfaces" ] && NOINTERFACES="true" +[ "$_opt_nokernel" ] && NOKERNEL="true" [ "$_opt_bootappend" ] && BOOT_APPEND=$_opt_bootappend [ "$_opt_grub" ] && GRUB=$_opt_grub [ "$_opt_arch" ] && ARCH=$_opt_arch @@ -1152,6 +1154,7 @@ preparechroot() { [ -n "$MKFS" ] && echo "MKFS=\"$MKFS\"" >> $CHROOT_VARIABLES [ -n "$NOPASSWORD" ] && echo "NOPASSWORD=\"true\"" >> $CHROOT_VARIABLES [ -n "$NOINTERFACES" ] && echo "NOINTERFACES=\"true\"" >> $CHROOT_VARIABLES + [ -n "$NOKERNEL" ] && echo "NOKERNEL=\"true\"" >> $CHROOT_VARIABLES [ -n "$PACKAGES" ] && echo "PACKAGES=\"$PACKAGES\"" >> $CHROOT_VARIABLES [ -n "$PRE_SCRIPTS" ] && echo "PRE_SCRIPTS=\"$PRE_SCRIPTS\"" >> $CHROOT_VARIABLES [ -n "$RECONFIGURE" ] && echo "RECONFIGURE=\"$RECONFIGURE\"" >> $CHROOT_VARIABLES