2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2024-11-23 18:10:14 +00:00
2 enhancement_for_rinstall_command
penguhyang edited this page 2016-05-26 14:42:32 +08:00

Overview

We want to use rinstall command to provison OS. It can support ppc64le ppc64 x86_64 arch. It support kvm, hmc, kvm management type. The goal is to make this command as a convenience command to help xCAT users to provision.

Interface

The syntax of the rinstall command:

rinstall [noderange] [parameters]

For example

rinstall [noderange]
rinstall [noderange] -O [osimage] 
rinstall [noderange] -c
rinstall -h
rinstall -v

rinstall -h

Display the usage of rinstall.

  • Display the basic usage
  • Display all the support parameters

rinstall [noderange] -O [osimage]

-O|--osimage is specified, ignore any -a,-p,-o options Provison nodes using the osimage

rinstall [noderange]

Provison nodes using provmethod defined in nodetype If this node not defined in tables using install as default

rinstall [noderange] -c

If -c is specified, it will then run rcons on the node This is allowed only if one node in the noderange