Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
maz
/
vminstall
/
791e87253cf90765d39398749fdc64753a09589c
/
.
/
runinstallvm.sh
blob: 9616b7d707770adfb9ddb6108119c36e466bd5ef [
file
] [
log
] [
blame
]
#!/bin/bash
export DISK
=
$
(
mktemp
-
p tmp
-
t XXXXXXXXXXXXXXXX
.
img
)
export EFIVAR
=
tmp
/
$
(
basename $DISK
.
img
).
fd
bus
=
$
{
BUS
-
pci
}
truncate
-
s
16G
$DISK
truncate
-
s
64M
$EFIVAR
./
runefivm
.
sh $
*
if
[
-
z
"$KEEPME"
];
then
rm
-
f $DISK $EFIVAR
fi