Separate host-reboot and host-shutdown. Include hostname using bash subshell
This commit is contained in:
parent
939b8a4b7e
commit
0f59c6c81a
@ -32,7 +32,7 @@ From command line:
|
|||||||
[shroot]
|
[shroot]
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
xe host-disable host={hostname}
|
xe host-disable host=$(hostname)
|
||||||
```
|
```
|
||||||
|
|
||||||
[/shroot]
|
[/shroot]
|
||||||
@ -41,10 +41,19 @@ Migrate the VMs running on the host to other hosts in the pool, or shut them dow
|
|||||||
|
|
||||||
Reboot or shutdown.
|
Reboot or shutdown.
|
||||||
Can be done from XO, or from command line
|
Can be done from XO, or from command line
|
||||||
|
|
||||||
[shroot]
|
[shroot]
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
xe host-reboot|host-shutdown host={hostname}
|
xe host-reboot host=$(hostname)
|
||||||
|
```
|
||||||
|
|
||||||
|
[/shroot]
|
||||||
|
|
||||||
|
[shroot]
|
||||||
|
|
||||||
|
```sh
|
||||||
|
xe host-reboot host=$(hostname)
|
||||||
```
|
```
|
||||||
|
|
||||||
[/shroot]
|
[/shroot]
|
||||||
|
Loading…
Reference in New Issue
Block a user