diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-04 10:41:40 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-04 10:41:40 -0300 |
commit | 4fee4766a68532bf4d07bd898e3c09ca6f233640 (patch) | |
tree | 9e5ba7df4a5cfc70aae5a21c4e84a1cab5dc5a9a /kvmx-create | |
parent | cff0c11f980dab01439d2ae80ac0bb0856fed64c (diff) | |
download | kvmx-4fee4766a68532bf4d07bd898e3c09ca6f233640.tar.gz kvmx-4fee4766a68532bf4d07bd898e3c09ca6f233640.tar.bz2 |
Guess image name by hostname first if no image param is found
Diffstat (limited to 'kvmx-create')
-rwxr-xr-x | kvmx-create | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create index 16349c0..36d3795 100755 --- a/kvmx-create +++ b/kvmx-create @@ -119,7 +119,7 @@ function kvmx_config { image="$image_base/$hostname/box.img" else image_base="$HOME/.local/share/kvmx" - kvmx_user_config image $image_base/debian/box.img "Destination image (ending in .img)" + kvmx_user_config image $image_base/$hostname/box.img "Destination image (ending in .img)" fi kvmx_user_config size 3G "Image size" |