[issue546] Refactor out the command line parameter-processing
Tong Sun
bts at bts.grml.org
Sat Oct 11 18:05:15 CEST 2008
Tong Sun <suntong001 at gmail.com> added the comment:
On Sat, Oct 11, 2008 at 3:55 AM, Michael Prokop <bts at bts.grml.org> wrote:
> ACK, looks fine!
Greate! I've make minor change to it, as follows:
-----------------------------------------------
Bootstrap options:
-m, --mirror=URL Mirror which should be used for apt-get/aptitude.
-i, --iso=mnt Mountpoint where a Debian ISO is mounted to, for use
instead of fetching packages from a mirror.
-r, --release=name Release of new Debian system (default: stable).
-t, --target=target Target partition (/dev/...) or directory.
-p, --mntpoint=mnt Mountpoint used for mounting the target system.
--debopt=params Extra parameters passed to the debootstrap.
--interactive Use interactive mode (frontend).
Configuration options:
-c, --config=file Use specified configuration file, defaults to
/etc/debootstrap/config
--packages Install packages defined in /etc/debootstrap/packages.
--debconf Pre-seed packages using
/etc/debootstrap/debconf-selections
--keep_src_list Do not overwrite user provided apt sources.list.
--hostname=name Hostname of Debian system.
--password=pwd Use specified password as password for user root.
--bootappend=line Add specified appendline to kernel whilst booting.
--groot=device Root device for usage in grub, corresponds with
$TARGET in grub syntax, like hd0,0 for /dev/sda1.
--grub=device Target for grub installation. Use grub syntax for
specifying, like hd0 for /dev/sda.
Other options:
-h, --help Print this usage information and exit.
-v, --version Show summary of options and exit.
-----------------------------------------------
I.e., added a "Configuration options" section and group
"--interactive" into the "Bootstrap options" section. Is that OK?
About the --packages & --debconf, shall we add an optional parameter
to them, so that, whey used alone turn the feature on; whereas if
followed by the optional parameters, use it as the parameter as the
file name for packages list / pre-seed db?
cheers
----------
messages: 1571, 1572, 1573, 1574, 1575, 1576, 1586, 1588, 1591
nosy: suntong
priority: feature
status: chatting
title: Refactor out the command line parameter-processing
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue546>
_____________________________________
More information about the Bugs-changes
mailing list