Skip to content

Commit

Permalink
elemental-vms: use 'sudo' to enable call from not root users
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Giudici <[email protected]>
  • Loading branch information
fgiudici committed May 3, 2024
1 parent d095425 commit 04f4b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elemental-vms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ for vm in `seq 1 $NUMOFVMS`; do
vm_name="${VM_PREFIX}${vm}"
uuid=$(uuidgen) || error "uuidgen failed"
echo "Kick off creation of NODE ${vm_name} - ${uuid}"
virt-install $remote_option \
sudo virt-install $remote_option \
-n "${vm_name}-${uuid}" \
--metadata title="${VM_TITLE} ${vm_name} ${uuid}" \
--osinfo=${VM_OSINFO} \
Expand Down

0 comments on commit 04f4b1f

Please sign in to comment.