Skip to content
Snippets Groups Projects
Commit 09bd115a authored by francisc.mendonca's avatar francisc.mendonca
Browse files

Fix bug with all python program calls

parent 1efe9cac
No related branches found
No related tags found
No related merge requests found
......@@ -33,35 +33,35 @@ Create a snapshot of the current state of the virtual machine using the provided
### Create a new virtual machine:
```python
# Run the Python script to create a VM
python lab-os-cli.py create
python lab-os.py create
```
This will return a unique ID for the newly created virtual machine.
### Start a virtual machine:
```python
# Start the virtual machine using the returned ID
python lab-os-cli.py start <ID>
python lab-os.py start <ID>
```
This starts the virtual machine associated with the provided **ID**.
### Stop a virtual machine:
```python
# Stop the virtual machine using the returned ID
python lab-os-cli.py stop <ID>
python lab-os.py stop <ID>
```
This stops the virtual machine associated with the provided **ID**.
### Create a snapshot of a virtual machine:
```python
# Create a snapshot using the VM ID
python lab-os-cli.py snapshot <ID>
python lab-os.py snapshot <ID>
```
This creates a snapshot of the virtual machine associated with the provided **ID** and returns a unique **ID** for the snapshot.
### Destroy a virtual machine:
```python
# Destroy the virtual machine using the returned ID
python lab-os-cli.py destroy <ID>
python lab-os.py destroy <ID>
```
This destroys the virtual machine associated with the provided **ID**.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment