1
0
mirror of synced 2026-01-19 17:18:39 +00:00
xen-tools.xen-tools/bin/xt-customize-image
steve e9c052b976 2006-06-09 09:39:11 by steve
More prototyping.
2006-06-09 09:39:11 +00:00

34 lines
393 B
Perl
Executable File

#!/usr/bin/perl -w
#
# Customize an installed copy of Linux by running hooks, etc.
#
use strict;
#
# Parse arguments.
#
# We'll need at least:
#
# --installation = /tmp/3980fdf890
# --distro= { sid sarge etch centos4 gentoo .. etc }
#
#
#
# Check arguments:
#
# Distro hook directory must exist.
# if not abort.
#
#
# Run each relevent hook script.
#
#
# Exit cleanly
#