]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Feat: kvmx-create: be verbose on sudo access
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2020 17:52:01 +0000 (14:52 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2020 17:52:01 +0000 (14:52 -0300)
kvmx-create

index f31ec5b3fcde1fe1de433f8bb594a8cba856a289..71e9dc08ea850561ffaf71ab1c5de7f448257e13 100755 (executable)
@@ -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