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

Changes between Version 1 and Version 2 of Architecture


Ignore:
Timestamp:
06/20/2012 01:56:13 PM (6 years ago)
Author:
gmk
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Architecture

    v1 v2  
    66 
    77== Interface(s) == 
    8 Warewulf includes a primary command line interface called ```wwsh``` which can be used to interact with the components, modules, and functions. The functions that are available via this interface are dependent on what Warewulf components are installed. ```wwsh``` can be used as a command line interface or as an interactive shell. 
    9  
    10 Here are some examples of using the Warewulf shell with the ```sudo``` command  
    11  
    12 === Invoking the Warewulf shell interactively=== 
    13 {{{ 
    14 $ sudo wwsh 
    15 Warewulf> help 
    16 Warewulf> quit 
    17 $ 
    18 }}} 
    19  
    20 note: If you have perl-ReadLine-GNU installed the Warewulf shell will have tab completion and Bash-like shortcuts. 
    21  
    22 === Passing commands directly to the Warewulf shell === 
    23 {{{ 
    24 $ sudo wwsh help 
    25 }}} 
    26  
    27 === Redirecting predetermined commands into Warewulf === 
    28 {{{ 
    29 $ sudo wwsh < /path/to/file/with/warewulf/commands 
    30 $ cat /path/to/file/with/warewulf/commands | sudo wwsh 
    31 }}} 
    32  
    33 === Using Warewulf for intepreted scripts === 
    34 {{{ 
    35 #!/usr/bin/wwsh 
    36 help 
    37 quit 
    38 }}} 
    39  
     8Warewulf includes a primary command line interface called ```wwsh``` which can be used to interact with the components, modules, and functions. The functions that are available via this interface are dependent on what Warewulf components are installed. ```wwsh``` can be used as a command line interface or as an interactive shell. Warewulf is modular so other interfaces can be built using all of the same backend libraries. We encourage site specific or commercial vendor value adding branded interfaces to be created. 
    409 
    4110== Common core with a modular backend ==