From 1d8254c8bf8e668ec084391c466ced5d2cb680ed Mon Sep 17 00:00:00 2001 From: "David A. Desrosiers" Date: Mon, 11 May 2020 13:41:33 -0400 Subject: [PATCH] Moving one more unnecessary var to the maas.config --- bootstrap-maas.sh | 3 +-- maas.config.example | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap-maas.sh b/bootstrap-maas.sh index 826aec3..93d9aa9 100755 --- a/bootstrap-maas.sh +++ b/bootstrap-maas.sh @@ -36,8 +36,6 @@ init_variables() { echo "MAAS Endpoint: $maas_endpoint" echo "MAAS Proxy: $maas_local_proxy" - virsh_chassis="qemu+ssh://${virsh_user}@${maas_system_ip}/system" - core_packages=(jq moreutils uuid) maas_packages=(maas maas-cli maas-proxy maas-dhcp maas-dns maas-rack-controller maas-region-api maas-common) pg_packages=(postgresql-10 postgresql-client postgresql-client-common postgresql-common) @@ -273,6 +271,7 @@ if [ $# -eq 0 ]; then exit 0 fi +# Load up some initial variables from the config and package arrays init_variables read_config diff --git a/maas.config.example b/maas.config.example index 4bfd99d..7e774ee 100644 --- a/maas.config.example +++ b/maas.config.example @@ -15,6 +15,7 @@ maas_user="maas" maas_version="2.4" squid_proxy="http://192.168.100.10:3128" virsh_user="ubuntu" +virsh_chassis="qemu+ssh://${virsh_user}@${maas_system_ip}/system" package_mirror="http://$maas_bridge_ip:8765/mirror/ubuntu" snap_store_proxy="$squid_proxy" snap_store_assertions="" \ No newline at end of file