Home · About · Download · Documentation · Getting Help · Google+

Changes between Version 4 and Version 5 of Vnfs


Ignore:
Timestamp:
12/19/2013 01:55:12 PM (4 years ago)
Author:
tacpilot
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Vnfs

    v4 v5  
    1414    -h        Usage summary 
    1515 
     16 
     17Context Help: 
     18        -h debian 
     19 
     20 
    1621TEMPLATE_NAME (select one of the following): 
    1722   * centos-5 
    1823   * centos-6 
     24   * debian7 
     25   * debian 
    1926   * rhel-generic 
    2027   * sl-5 
     
    3946 
    4047=== Creating a chroot locally from an ISO image === 
     48'''NOTE:''' This feature currently not available for Debian. The original chroot will not be generated from the iso's, however they will appear in its sources.list file for future package management. 
     49 
    4150By default, wwmkchroot downloads the required components for the chroot over the network, but as of Warewulf VNFS version 3.4, you can build your chroot image from the ISO/DVD images directly. Once you have downloaded the install media image(s), you can set the environment variable '''INSTALL_ISO''' to point to the media (comma deliminated if there are multiple images). For example: 
    4251 
     
    4756}}} 
    4857 
     58---- 
     59 
     60=== chroot Management === 
     61Package management and admin tasks can be performed nearly as easy as working on the host system. The tool that offers such convenience is '''wwmngchroot'''. Packages lists to remove and install can be issued at the same time, and a shell can be provided inside the chroot to perform manual tasks. Optionally supplying a vnfs name, can automatically (re)import a VNFS when all tasks have completed. 
     62 
     63Only install nano 
     64{{{ 
     65sudo wwmngchroot -c /var/chroots/rhel-generic -i nano 
     66}}} 
     67 
     68Only open a shell within the chroot 
     69{{{ 
     70sudo wwmngchroot -c /var/chroots/centos-6 -s 
     71}}} 
     72 
     73Remove nano, install wget, provide a shell to work in, choose yes for prompts, automatically import into vnfs.[[br]] 
     74'''NOTE:''' All package removal will occur before instillation. 
     75{{{ 
     76sudo wwmngchroot -y -s -c /var/chroots/debian7 -i wget -r nano -v debian7 
     77}}} 
     78 
     79Additional help info is available with 
     80{{{ 
     81sudo wwmngchroot -h 
     82}}} 
     83 
     84---- 
    4985 
    5086== Creating and importing the chroot into Warewulf as a VNFS image ==