Ignite-UX Reference (March 2010, B3921-90005)

make_sys_image(1M) make_sys_image(1M)
SERVER=IP|local Equivalent to the -s option.
DEST_DIR=directory|device Equivalent to the -d option.
ARCHIVE_NAME=archive_filename Equivalent to the -n option.
METHOD=c|t Equivalent to the -m option.
COMPRESS=z|g Equivalent to the -c option.
CLEAN_LEVEL=1|2 Equivalent to the -l option.
International Code Set Support
Ignite-UX uses a variety of system commands to accomplish its functionality. Because the output of many
of these commands is parsed, Ignite-UX ensures that the POSIX locale is normally used by modifying envi-
ronment variables. Help text and some command output not parsed by Ignite-UX will be left in the user’s
specified locale.
EXAMPLES
Use all of the built-in defaults, and create a gzip compressed tar archive named hostname.gz on the
Ignite-UX server in directory /var/tmp with all identity information removed. This assumes the server
has a .rhosts entry for the local system:
post_config_script+="make_sys_image"
Create a gzip compressed tar archive with all of the identity information intact and dd to local tape:
post_config_script+="make_sys_image -s local -l 1 -d /dev/rmt/0m"
Extract into /var/tmp a gzip’d tar archive from tape:
cd /var/tmp
dd ibs=10k if=/dev/rmt/0m of=archive.gz
Note: Replace 10k with 5k for cpio archives. Replace .gz with .Z for compress’d
archives.
Create a local archive resetting /etc/motd and /etc/issue to newconfig state along with the
level 2 default resets and ignore only the directory /data_area and files or directories beginning with "n" or
"a" in /opt/apps.
Copy /opt/ignite/data/scripts/make_sys_image from an Ignite-UX server to /tmp on
the archive system:
/tmp/make_sys_image -s local -d /var/tmp -f /tmp/specific_files
Contents of /tmp/specific_files:
# Files to be reset to newconfig state
# in addition to the defaults. Note use of upper case.
+ RESET
/etc/motd
/etc/issue
# Files to be excluded from the archive,
# override the defaults. Note use of upper case.
+ ONLY NO_ARCHIVE
/data_area
/opt/apps/[na]*
Generate a list of files that will be reset or ignored including those specified in /tmp/specific_files:
/tmp/make_sys_image -s local -x -f /tmp/specific_files
Create a compress compressed cpio archive to a remote system other than the Ignite-UX server, and
4