diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-08 19:36:40 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-08 19:36:40 +0000 |
| commit | 731dfb6c3d741e282d6d2577db3329b3833abec3 (patch) | |
| tree | d46e749dbac1b75318086a938e38b3033f8a19de | |
| parent | f8b2d1acf362ec0b83ff1a8bbd952011794601fb (diff) | |
Fix vmbuild for different Fedora versions.
| -rwxr-xr-x | vmbuild | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
