diff --git a/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.tmpl index 78686692..2a7b49e4 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_46_virtualbox.tmpl @@ -24,7 +24,7 @@ if command -v VirtualBox > /dev/null; then ### Install extension pack logg info 'Installing VirtualBox extension pack' - echo 'y' | VBoxManage extpack install --replace /tmp/vbox/Oracle_VM_VirtualBox_Extension_Pack-$VBOX_VERSION.vbox-extpack + echo 'y' | sudo VBoxManage extpack install --replace /tmp/vbox/Oracle_VM_VirtualBox_Extension_Pack-$VBOX_VERSION.vbox-extpack logg success 'Successfully installed VirtualBox extension pack' else logg info 'VirtualBox Extension pack is already installed'