Start with an empty CD-ROM
This commit is contained in:
parent
687cd542cc
commit
a32bf4f09f
1 changed files with 6 additions and 0 deletions
|
@ -24,6 +24,10 @@ if ! [ -d "$_acp_vm_root" ]
|
||||||
then
|
then
|
||||||
mkdir -p "$_acp_vm_root"
|
mkdir -p "$_acp_vm_root"
|
||||||
fi
|
fi
|
||||||
|
if ! [ -f "$_acp_vm_root/empty.iso" ]
|
||||||
|
then
|
||||||
|
touch "$_acp_vm_root/empty.iso"
|
||||||
|
fi
|
||||||
|
|
||||||
case "$_acp_vm_distro" in
|
case "$_acp_vm_distro" in
|
||||||
"debian")
|
"debian")
|
||||||
|
@ -64,4 +68,6 @@ virt-install --connect $_acp_vm_session \
|
||||||
--video bochs \
|
--video bochs \
|
||||||
--autoconsole none \
|
--autoconsole none \
|
||||||
--import \
|
--import \
|
||||||
|
--cdrom $_acp_vm_root/empty.iso \
|
||||||
|
--boot menu=on \
|
||||||
--name "$@"
|
--name "$@"
|
||||||
|
|
Loading…
Reference in a new issue