aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-10-19 14:52:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-10-19 14:52:01 -0300
commitdfbf23a27f5d2d585a70c5c8ae2a410c3d231ba9 (patch)
tree8cf259b3d32d6cf9d5ce768a0d5bf5f80f7d3578 /kvmx-create
parent303112146f242da44ccb9f7c2afe5c0f28fa0110 (diff)
downloadkvmx-dfbf23a27f5d2d585a70c5c8ae2a410c3d231ba9.tar.gz
kvmx-dfbf23a27f5d2d585a70c5c8ae2a410c3d231ba9.tar.bz2
Feat: kvmx-create: be verbose on sudo access
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create6
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