mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 11:59:43 +01:00
pbot-vm: update documentation about how to start PBot VM after reboot
This commit is contained in:
parent
e25bde159f
commit
9ef521309a
@ -83,6 +83,14 @@ In your instance of PBot, the `sh` and `cc`, etc, commands should now produce ou
|
|||||||
<pragma-> sh echo Hello world!
|
<pragma-> sh echo Hello world!
|
||||||
<PBot> Hello world!
|
<PBot> Hello world!
|
||||||
|
|
||||||
|
### Starting PBot VM again
|
||||||
|
To start the PBot VM again, e.g. after a reboot:
|
||||||
|
|
||||||
|
cd applets/pbot-vm/host/bin
|
||||||
|
virsh -c qemu:///system net-start vagrant-libvirt
|
||||||
|
virsh -c qemu:///system snapshot-revert $PBOTVM_DOMAIN 1 # for each $PBOTVM_DOMAIN you need to start
|
||||||
|
./vm-server
|
||||||
|
|
||||||
### Shutdown Vagrant Box
|
### Shutdown Vagrant Box
|
||||||
|
|
||||||
vagrant halt
|
vagrant halt
|
||||||
|
@ -353,6 +353,7 @@
|
|||||||
* [Initial virtual machine set-up complete](VirtualMachine.md#initial-virtual-machine-set-up-complete)
|
* [Initial virtual machine set-up complete](VirtualMachine.md#initial-virtual-machine-set-up-complete)
|
||||||
* [Start PBot VM Host](VirtualMachine.md#start-pbot-vm-host)
|
* [Start PBot VM Host](VirtualMachine.md#start-pbot-vm-host)
|
||||||
* [Test PBot](VirtualMachine.md#test-pbot)
|
* [Test PBot](VirtualMachine.md#test-pbot)
|
||||||
|
* [Starting PBot VM again](VirtualMachine.md#starting-pbot-vm-again)
|
||||||
* [Adding additional VMs](VirtualMachine.md#adding-additional-vms)
|
* [Adding additional VMs](VirtualMachine.md#adding-additional-vms)
|
||||||
* [QEMU command from libvirt](VirtualMachine.md#qemu-command-from-libvirt)
|
* [QEMU command from libvirt](VirtualMachine.md#qemu-command-from-libvirt)
|
||||||
<!-- md-toc-end -->
|
<!-- md-toc-end -->
|
||||||
|
@ -510,6 +510,13 @@ In your instance of PBot, the `sh echo hello` command should output `hello`.
|
|||||||
<pragma-> sh echo hello
|
<pragma-> sh echo hello
|
||||||
<PBot> hello
|
<PBot> hello
|
||||||
|
|
||||||
|
## Starting PBot VM again
|
||||||
|
To start the PBot VM again, e.g. after a reboot:
|
||||||
|
|
||||||
|
cd applets/pbot-vm/host/bin
|
||||||
|
virsh snapshot-revert $PBOTVM_DOMAIN 1 # for each $PBOTVM_DOMAIN you need to start
|
||||||
|
./vm-server
|
||||||
|
|
||||||
## Adding additional VMs
|
## Adding additional VMs
|
||||||
You may add as many virtual machines as you like. The virtual machines can exist on different physical machines.
|
You may add as many virtual machines as you like. The virtual machines can exist on different physical machines.
|
||||||
Edit the [`vm-exec.json`](../applets/pbot-vm/host/config/vm-exec.json) configuration file with the details (IP addresses
|
Edit the [`vm-exec.json`](../applets/pbot-vm/host/config/vm-exec.json) configuration file with the details (IP addresses
|
||||||
|
Loading…
Reference in New Issue
Block a user