mirror of
https://github.com/gryf/boxpy.git
synced 2025-12-19 05:30:18 +01:00
Decrease memory/disk size of default vm
This commit is contained in:
@@ -55,7 +55,7 @@ or simply link it somewhere in the path:
|
|||||||
$ chmod +x ~/bin/boxpy
|
$ chmod +x ~/bin/boxpy
|
||||||
|
|
||||||
and now you can issue some command. For example, to spin up a VM with Ubuntu
|
and now you can issue some command. For example, to spin up a VM with Ubuntu
|
||||||
18.04 with one CPU, 2GB of memory and 10GB of disk:
|
18.04 with one CPU, 1GB of memory and 6GB of disk:
|
||||||
|
|
||||||
.. code:: shell-session
|
.. code:: shell-session
|
||||||
|
|
||||||
|
|||||||
4
box.py
4
box.py
@@ -46,9 +46,9 @@ ssh:
|
|||||||
emit_keys_to_console: false
|
emit_keys_to_console: false
|
||||||
boxpy_data:
|
boxpy_data:
|
||||||
cpus: 1
|
cpus: 1
|
||||||
disk_size: 10240
|
disk_size: 6144
|
||||||
key: ~/.ssh/id_rsa
|
key: ~/.ssh/id_rsa
|
||||||
memory: 2048
|
memory: 1024
|
||||||
'''
|
'''
|
||||||
COMPLETIONS = {'bash': '''\
|
COMPLETIONS = {'bash': '''\
|
||||||
_boxpy() {
|
_boxpy() {
|
||||||
|
|||||||
Reference in New Issue
Block a user