2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Remove trailing spaces in file docs/source/guides/admin-guides/references/man1/chvlan.1.rst

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 6c180cef83
commit 139103a979

View File

@ -21,7 +21,7 @@ SYNOPSIS
\ **chvlan**\ \ *vlanid*\ \ **-n | -**\ **-nodes**\ \ *noderange*\ [\ **-i | -**\ **-interface**\ \ *nic*\ ]
\ **chvlan**\ \ *vlanid*\ \ **-n | -**\ **-nodes**\ \ *noderange*\ \ **-d | -**\ **-delete**\
\ **chvlan**\ \ *vlanid*\ \ **-n | -**\ **-nodes**\ \ *noderange*\ \ **-d | -**\ **-delete**\
\ **chvlan**\ [\ **-h | -**\ **-help**\ ]
@ -86,77 +86,77 @@ EXAMPLES
1.
To add node1, node2 and node3 to vlan 3.
.. code-block:: perl
chvlan 3 -n node1,node2,node3
2.
To add node1, node2 and node3 to vlan 3 using eth1 interface.
.. code-block:: perl
chvlan 3 -n node1,node2,node3 -i eth1
3.
TO remove node1, node2 and node3 from vlan 3.
.. code-block:: perl
chvlan -n node1,node2,node3 -d
4.
To add KVM guests node1 and node2 to vlan 3
.. code-block:: perl
mkdef node1 arch=x86_64 groups=kvm,all installnic=mac primarynic=mac mgt=kvm netboot=pxe nfsserver=10.1.0.204 os=rhels6 profile=compute provmethod=install serialport=0 serialspeed=115200 vmcpus=1 vmhost=x3650n01 vmmemory=512 vmnics=br0 vmstorage=nfs://10.1.0.203/vms
mkdef node2 arch=x86_64 groups=kvm,all installnic=mac primarynic=mac mgt=kvm netboot=pxe nfsserver=10.1.0.204 os=rhels6 profile=compute provmethod=install serialport=0 serialspeed=115200 vmcpus=1 vmhost=x3650n01 vmmemory=512 vmnics=br0 vmstorage=nfs://10.1.0.203/vms
chvlan 3 -n node1,node2
mkvm node1,node2 -s 20G
rpower node1,node2 on
rinstall node1,node2
5.
To remove KVM guests node1 and node2 from vlan 3
.. code-block:: perl
chvlan 3 -n node1,node2 -d
rpower node1,node2 off
rmvm node1,node2