Scroll to navigation

wwvnfs(1) General Commands Manual wwvnfs(1)

NAME

wwvnfs - create Warewulf Virtual Network File System

SYNOPSIS

wwvnfs [options] name

DESCRIPTION

When wwvnfs is run for the first time on a VNFS, it will attempt to create a configuration file in the default warewulf config dir (/etc/warewulf/vnfs/) or in the users ~/.warewulf/vnfs directory. Once the configuration file has been written and updated, you can simply run 'wwvnfs [vnfs_name]' to rebuild the image. You can temporarily override any of these options via command line arguments.

OPTIONS

wwvnfs options:

-c, --chroot

Path to the chroot to use for this VNFS image.

-r, --root

Alias for --chroot

-h, --help

Usage and help summary

-o, --output

Output the binary VNFS to a file instead of importing it directly into Warewulf

-e, --exclude

Exclude a file or directory from the VNFS image

--excludefile

Path to a file that contains a list of files and directories to exclude from the VNFS image

--hybridize

Hybridize a list of files or directories from the VNFS image (requires --hybridpath to be set, or files are just excluded)

--hybridizefile

Path to a file that contains a list of files and directories to be hybridized from the VNFS image

--hybridpath

Path to use within the VNFS where the links will be pointed to in the final image (this needs to be added to the VNFS fstab!)

EXAMPLES

# wwvnfs --chroot=/var/chroots/rhel-6
# wwvnfs custom_name --chroot=/var/chroots/rhel-6 --hybridpath=/hybrid/vnfs_name
# wwvnfs --chroot=/var/chroots/rhel-6 --output=rhel-6.vnfs
# wwvnfs custom_name
Dec 21 2017 Warewulf 3.8