From dfbf23a27f5d2d585a70c5c8ae2a410c3d231ba9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 19 Oct 2020 14:52:01 -0300 Subject: Feat: kvmx-create: be verbose on sudo access --- kvmx-create | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3