From 5d3d538c920e2fc222bd8c87d05acd22a06cfa50 Mon Sep 17 00:00:00 2001 From: Jason Mehring Date: Mon, 20 Oct 2014 12:25:31 -0400 Subject: [PATCH] need to be sudo to install template --- create_template_list.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_template_list.sh b/create_template_list.sh index 260d3aa..2ede209 100755 --- a/create_template_list.sh +++ b/create_template_list.sh @@ -32,9 +32,9 @@ write "" for file in ${files[@]}; do write "qvm-run --pass-io development-qubes 'cat ${path}/rpm/noarch/${file}' > ${file}" write "" - write "yum erase $(echo "$file" | sed -r "s/($VERSION).+$//")" + write "sudo yum erase $(echo "$file" | sed -r "s/($VERSION).+$//")" write "" - write "yum install ${file}" + write "sudo yum install ${file}" write "" write "" done