Update '0.virtualbox.md'
This commit is contained in:
parent
0cadd4e214
commit
68b823571a
@ -52,4 +52,14 @@ VBoxManage modifyhd slack.vdi --resize 102400 # MB
|
||||
```sh
|
||||
VBoxManage clonehd --format RAW <vdisk-name>.vdi <vdisk-name>.img
|
||||
qemu-img convert -f raw <vdisk-name>.img -O qcow2 <vdisk-name>.qcow2
|
||||
```
|
||||
```
|
||||
|
||||
## Bash alias
|
||||
|
||||
```sh
|
||||
alias vm='VBoxManage list vms && echo -e '\n' && VBoxManage list runningvms'
|
||||
alias vmstart='VBoxManage startvm "Rocky Linux" --type=headless'
|
||||
alias vmstop='VBoxManage controlvm SlackDB poweroff soft'
|
||||
```
|
||||
|
||||
`source ~/.bashrc`
|
||||
Loading…
x
Reference in New Issue
Block a user