enhancement_for_rinstall_command - xcat2/xcat-core GitHub Wiki

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