Last active
June 7, 2018 20:13
-
-
Save stevester94/082c3ca3008823a8a1240f90c48adeaf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#! /bin/bash | |
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' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment