-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Roman
committed
Aug 9, 2018
0 parents
commit 932d4a2
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
### spawns kvm machines using virt-install | ||
|
||
Debian | ||
``` | ||
virt-install \ | ||
--name debian8 \ | ||
--ram 1024 \ | ||
--disk path=./debian8.qcow2,size=8 \ | ||
--vcpus 1 \ | ||
--os-type linux \ | ||
--os-variant generic \ | ||
--network bridge=virbr0 \ | ||
--graphics none \ | ||
--console pty,target_type=serial \ | ||
--location 'http://ftp.nl.debian.org/debian/dists/jessie/main/installer-amd64/' \ | ||
--extra-args 'console=ttyS0,115200n8 serial' | ||
``` | ||
|
||
Centos | ||
``` | ||
virt-install \ | ||
--name centos7 \ | ||
--ram 1024 \ | ||
--disk path=./centos7.qcow2,size=8 \ | ||
--vcpus 1 \ | ||
--os-type linux \ | ||
--os-variant centos7 \ | ||
--network bridge=virbr0 \ | ||
--graphics none \ | ||
--console pty,target_type=serial \ | ||
--location 'http://mirror.i3d.net/pub/centos/7/os/x86_64/' \ | ||
--extra-args 'console=ttyS0,115200n8 serial' | ||
``` | ||
|
||
Ubuntu | ||
``` | ||
virt-install \ | ||
--name ubuntu1404 \ | ||
--ram 1024 \ | ||
--disk path=./ubuntu1404.qcow2,size=8 \ | ||
--vcpus 1 \ | ||
--os-type linux \ | ||
--os-variant generic \ | ||
--network bridge=virbr0 \ | ||
--graphics none \ | ||
--console pty,target_type=serial \ | ||
--location 'http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/' \ | ||
--extra-args 'console=ttyS0,115200n8 serial' | ||
``` |