projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b2d1a
)
Fix vmbuild for different Fedora versions.
author
Carl Hetherington
<cth@carlh.net>
Sun, 8 Nov 2015 19:36:40 +0000
(19:36 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 8 Nov 2015 19:36:40 +0000
(19:36 +0000)
vmbuild
patch
|
blob
|
history
diff --git
a/vmbuild
b/vmbuild
index 1906c426435b02c1215cd84af8510759f3b29e65..563fe432112d809b626d4078797891306e7415ab 100755
(executable)
--- a/
vmbuild
+++ b/
vmbuild
@@
-20,7
+20,7
@@
else
exit 1
fi
-nohup vboxheadless --startvm
fedora-22-$bits
&
+nohup vboxheadless --startvm
$target
&
vbox=$!
sleep 10
ssh -p $port carl@localhost "rm -rf fedora-*"
@@
-30,7
+30,7
@@
if [ "$output" != "" ]; then
echo "copy from vm to $output..."
tmp=/var/tmp/copy.$$
mkdir -p $tmp
- scp -P $port carl@localhost:
fedora-22-$bits
/* $tmp/
+ scp -P $port carl@localhost:
$target
/* $tmp/
scp $tmp/*.rpm $output/
rm -rf $tmp
fi