Skip to content
Snippets Groups Projects
Unverified Commit b795a180 authored by anarcat's avatar anarcat
Browse files

a little more info in the basic instance creation example

parent 8a909cad
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,8 @@ See also the more extensive [glossary in the Ganeti documentation](http://docs.g
## Adding a new instance
This command creates a new guest, or "instance" in Ganeti's
vocabulary:
vocabulary with 10G root, 2G swap, 20G spare on SSD, 800G on HDD, 8GB
ram and 2 CPU cores:
gnt-instance add \
-o debootstrap+buster \
......@@ -54,6 +55,20 @@ vocabulary:
--backend-parameters memory=8g,vcpus=2 \
test-01.torproject.org
This is the same without the HDD partition:
gnt-instance add \
-o debootstrap+buster \
-t drbd --no-wait-for-sync \
--net 0:ip=pool,network=gnt-fsn \
--no-ip-check \
--no-name-check \
--disk 0:size=10G \
--disk 1:size=2G,name=swap \
--disk 2:size=20G \
--backend-parameters memory=8g,vcpus=2 \
test-01.torproject.org
### What that does
This configures the following:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment