Browse Source

Merge pull request #8821 from kargakis/persist-oreg-url

Persist oreg_url in node image
OpenShift Merge Robot 6 years ago
parent
commit
f2677236b9
1 changed files with 6 additions and 0 deletions
  1. 6 0
      playbooks/azure/openshift-cluster/build_node_image.yml

+ 6 - 0
playbooks/azure/openshift-cluster/build_node_image.yml

@@ -77,6 +77,12 @@
     with_items:
     - { regexp: '^ResourceDisk\.Format=', line: 'ResourceDisk.Format=n' }
 
+  - name: persist oreg_url
+    copy:
+      dest: "/etc/origin/oreg_url"
+      content: |
+        "{{ oreg_url }}"
+
   - name: run waagent deprovision
     shell: sleep 2 && waagent -deprovision+user -force
     async: 1