Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lab-OS-Python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LSDS
Teaching
Bachelor
Cloud-and-Deployment
Lab-OS-Python
Commits
09bd115a
Commit
09bd115a
authored
9 months ago
by
francisc.mendonca
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug with all python program calls
parent
1efe9cac
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+5
-5
5 additions, 5 deletions
README.md
with
5 additions
and
5 deletions
README.md
+
5
−
5
View file @
09bd115a
...
...
@@ -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**
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment