AppVM was hard coded by mistake. Changed to pick up users AppVM name

This commit is contained in:
Jason Mehring 2014-11-17 16:39:02 -05:00
parent b37711b876
commit a08bb8ed86

View File

@ -35,7 +35,7 @@ cat << 'EOF' >> "${template_dir}"
for file in ${files[@]}; do
if [ ! -e ${file} ]; then
echo "Copying ${file} from ${name} to ${PWD}/${file}..."
qvm-run --pass-io development-qubes "cat ${path}/${file}" > ${file}
qvm-run --pass-io ${name} "cat ${path}/${file}" > ${file}
fi
sudo yum erase $(echo "${file}" | sed -r "s/(${version}).+$//") && {