Skip to content

Commit

Permalink
Update documenatation and output for networking options
Browse files Browse the repository at this point in the history
  • Loading branch information
jkirk committed Oct 31, 2019
1 parent 4e1cd1c commit 3a8e642
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions grml-debootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ Configuration options:
/etc/debootstrap/packages
--nokernel Skip installation of default kernel images.
--nointerfaces Skip installation of default network configuration.
--defaultinterfaces Install a default /etc/systemd/network/80-dhcp.network file
(enabling DHCP for all network devices). (default)
--defaultinterfaces Install default network configuration. (default)
--debconf <file> 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).
Expand Down Expand Up @@ -1762,7 +1761,7 @@ iface ${interface} inet dhcp
fi

if [ -n "$NOINTERFACES" ] ; then
einfo "Not installing /etc/systemd/network/80-dhcp.network as requested via --nointerfaces option"
einfo "Not installing default network configuration as requested via --nointerfaces option"
eend 0
elif [ -n "$USE_DEFAULT_INTERFACES" ] ; then
einfo "Installing default /etc/network/interfaces as requested via --defaultinterfaces options."
Expand Down
7 changes: 5 additions & 2 deletions grml-debootstrap.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,12 @@ Options and environment variables

Skip debootstrap, only do configuration to the target.


*--nointerfaces*::

Do not copy /etc/network/interfaces from host system to the target.
Skip installation of a default network configuration.
Does not provide a default /etc/systemd/network/80-dhcp.network and
/etc/network/interfaces on the target system.

*--nokernel*::

Expand Down Expand Up @@ -255,7 +258,7 @@ Options and environment variables

Set up a Virtual Machine using a regular file instead of installing to a
partition/block device or directory. This allows deployment of a Virtual
Machine. The options needs to be combined with the --target option
Machine.
('qemu-img create -f raw ...' is executed on the specified target).
This option automatically enables the --defaultinterfaces option.
Usage example: --vmfile --target /mnt/sda1/qemu.img
Expand Down

0 comments on commit 3a8e642

Please sign in to comment.