diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-10-19 14:52:01 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-10-19 14:52:01 -0300 |
commit | dfbf23a27f5d2d585a70c5c8ae2a410c3d231ba9 (patch) | |
tree | 8cf259b3d32d6cf9d5ce768a0d5bf5f80f7d3578 | |
parent | 303112146f242da44ccb9f7c2afe5c0f28fa0110 (diff) | |
download | kvmx-dfbf23a27f5d2d585a70c5c8ae2a410c3d231ba9.tar.gz kvmx-dfbf23a27f5d2d585a70c5c8ae2a410c3d231ba9.tar.bz2 |
Feat: kvmx-create: be verbose on sudo access
-rwxr-xr-x | kvmx-create | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kvmx-create b/kvmx-create index f31ec5b..71e9dc0 100755 --- a/kvmx-create +++ b/kvmx-create @@ -148,6 +148,12 @@ function kvmx_create_custom { DEPENDENCIES="sudo apt qemu-img sed awk tr head debootstrap chroot" __kvmx_check_dependencies + echo "This script requires sudo to: install dependencies into your system, mount the imagem and chroot into it." + echo "So it assumes your currente user $USER has superuser access through sudo" + echo "Also, you might be prompted for your passphrase a number of times if that's the way your sudo access is configured." + + echo "Creating virtual machine guest image $image..." + # Check for package requirements #for req in debootstrap parted apt-transport-https; do for req in debootstrap parted; do |