Skip to content

Commit a9e76ec

Browse files
author
Zack Williams
committed
generate config yaml file instead of long extra-vars parameter
fix var and typo leave extraVars for maas use Change-Id: Ia4d535a738c6ee1fab99c35879407785a0b08458
1 parent 910d2c5 commit a9e76ec

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

config/cord_in_a_box.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Deployment configuration for VirtualBox based head node.
22
#
33
# This deployment configuration can be utilized with the head node created
4-
# via `vargrant up headnode` from the gerrit.opencord.org/maas repository.
4+
# via `vagrant up headnode` from the gerrit.opencord.org/maas repository.
55
---
66
debug: false
77

@@ -10,8 +10,8 @@ seedServer:
1010

1111
# User name and password used by Ansible to connect to the host for remote
1212
# provisioning
13-
user: 'vagrant'
14-
password: 'vagrant'
13+
ansible_user: 'vagrant'
14+
ansible_ssh_pass: 'vagrant'
1515

1616
# Specifies tasks within the head node provisioning not to execute, including:
1717
#
@@ -36,9 +36,10 @@ seedServer:
3636
# virtualbox_support: 1
3737
# power_helper_user: 'cord'
3838

39+
# on_cloudlab: True
40+
cord_in_a_box: True
41+
3942
extraVars:
40-
#- 'on_cloudlab=True'
41-
- 'cord_in_a_box=True'
4243
- 'fabric_include_names=eth2'
4344
- 'fabric_include_module_types=omit'
4445
- 'fabric_exclude_names=eth0,eth1'

genconfig/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Generated config files
2+
3+
These files are generated from other config, used by ansible

scripts/cord-in-a-box.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ while getopts "b:cdhn:stv" opt; do
187187
echo " $0 -c cleanup from previous test"
188188
echo " $0 -d run diagnostic collector"
189189
echo " $0 -h display this help message"
190-
echo " $0 -n number of compute nodes to setup. currently max 2 nodes can be supported"
190+
echo " $0 -n # number of compute nodes to setup. Currently max 2 nodes can be supported"
191191
echo " $0 -s run initial setup phase only (don't start building CORD)"
192192
echo " $0 -t do install, bring up cord-pod configuration, run E2E test"
193193
echo " $0 -v print CiaB version and exit"

0 commit comments

Comments
 (0)