-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.sh
29 lines (22 loc) · 1.03 KB
/
config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
IMAGES_DIR="$(aoi config get images_dir ~/.cloud-images)"
export INSTANCE="$(aoi config get maas_instance maas)"
DISTRO="$(aoi config get maas_distro xenial)"
MAAS_USER="$(aoi config get maas_user admin)"
MAAS_PASSWORD="$(aoi config get maas_password test)"
API_KEY="$(aoi config get maas_api_key '')"
PROFILE="$(aoi config get maas_profile admin)"
MAAS_SERVER_CPUS="$(aoi config get maas_server_cpus 4)"
MAAS_SERVER_RAM="$(aoi config get maas_server_ram 4096)"
TESTNET_CIDR="172.16.99.0/24"
TESTNET_IP=172.16.99.2
TESTNET_GW=172.16.99.1
TESTNET_DYN_START=172.16.99.150
TESTNET_DYN_END=172.16.99.199
TESTNET_NETMASK=255.255.255.0
BOOT_SOURCE_URL="$(aoi config get maas_images_url '')"
UBUNTU_ARCHIVE_HOST="$(aoi config get ubuntu_archive_host '')"
PPA="$(aoi config get maas_ppa ppa:maas-maintainers/experimental3)"
MAAS_REPO="$(aoi config get maas_repo '')"
MAAS_REPO_KEY="$(aoi config get maas_repo_key '')"
LIBVIRT_USER="$(aoi config get libvirt_remote_user libvirt-qemu)"
LIBVIRT_PASSWORD="$(aoi config get libvirt_remote_password qwe123)"