summaryrefslogtreecommitdiffstats
path: root/images/installer
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-06-13 12:18:47 -0400
committerSteve Milner <smilner@redhat.com>2017-06-13 12:18:47 -0400
commit8fb905e7b84da6139da0b74067f987df5317464b (patch)
treee04c73e2c5ced0f39a40b12215a3981477985ecb /images/installer
parente879b7f4cee68b241f4b2c8675513afcdc667957 (diff)
downloadopenshift-8fb905e7b84da6139da0b74067f987df5317464b.tar.gz
openshift-8fb905e7b84da6139da0b74067f987df5317464b.tar.bz2
openshift-8fb905e7b84da6139da0b74067f987df5317464b.tar.xz
openshift-8fb905e7b84da6139da0b74067f987df5317464b.zip
Update mounts in system container installer
This change will allow retry files to be stored in $HOME_ROOT. - SSH_ROOT replaced with HOME_ROOT - /root[container] -> $HOME_ROOT[host]
Diffstat (limited to 'images/installer')
-rw-r--r--images/installer/system-container/root/exports/config.json.template6
-rw-r--r--images/installer/system-container/root/exports/manifest.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/images/installer/system-container/root/exports/config.json.template b/images/installer/system-container/root/exports/config.json.template
index 383e3696e..441087d84 100644
--- a/images/installer/system-container/root/exports/config.json.template
+++ b/images/installer/system-container/root/exports/config.json.template
@@ -102,7 +102,7 @@
},
{
"type": "bind",
- "source": "$SSH_ROOT",
+ "source": "$HOME_ROOT/.ssh",
"destination": "/opt/app-root/src/.ssh",
"options": [
"bind",
@@ -112,8 +112,8 @@
},
{
"type": "bind",
- "source": "$SSH_ROOT",
- "destination": "/root/.ssh",
+ "source": "$HOME_ROOT",
+ "destination": "/root",
"options": [
"bind",
"rw",
diff --git a/images/installer/system-container/root/exports/manifest.json b/images/installer/system-container/root/exports/manifest.json
index 1db845965..f735494d4 100644
--- a/images/installer/system-container/root/exports/manifest.json
+++ b/images/installer/system-container/root/exports/manifest.json
@@ -5,7 +5,7 @@
"VAR_LIB_OPENSHIFT_INSTALLER" : "/var/lib/openshift-installer",
"VAR_LOG_OPENSHIFT_LOG": "/var/log/ansible.log",
"PLAYBOOK_FILE": "/usr/share/ansible/openshift-ansible/playbooks/byo/config.yml",
- "SSH_ROOT": "/root/.ssh",
+ "HOME_ROOT": "/root",
"INVENTORY_FILE": "/dev/null"
}
}