aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-07-15 15:52:28 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-07-15 15:52:28 -0300
commit2b0fdc40e076f46a2212f77a7d913042f1c8088d (patch)
treedf92cc69bcf0be98155cfb9d42596f28de23f888 /kvmx-create
parentef1267826007c6bdfbc46cd62deb66d3365a4065 (diff)
downloadkvmx-2b0fdc40e076f46a2212f77a7d913042f1c8088d.tar.gz
kvmx-2b0fdc40e076f46a2212f77a7d913042f1c8088d.tar.bz2
Updates xrandr, net_dns and provision_command
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create
index 64a66ec..43e5a82 100755
--- a/kvmx-create
+++ b/kvmx-create
@@ -115,12 +115,12 @@ function kvmx_config {
kvmx_user_config user user "Initial user name"
kvmx_user_config password $default_password "Initial user password"
kvmx_user_config net user "Networking config (user or tap)"
- kvmx_user_config net_dns 192.168.1.1 "DNS"
if [ "$net" == "tap" ]; then
kvmx_user_config net_ip 10.1.1.2 "IP address"
kvmx_user_config net_mask 255.255.0 "Netmask"
kvmx_user_config net_gateway 10.1.1.1 "Gateway"
+ kvmx_user_config net_dns 192.168.1.1 "DNS"
fi
if [ ! -z "$image_base" ]; then