Explorar o código

Run MCD in once-from mode via setting an entrypoint in MCO image

Vadim Rutkovsky %!s(int64=5) %!d(string=hai) anos
pai
achega
d28fb17a2b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      roles/openshift_node/tasks/config.yml

+ 1 - 1
roles/openshift_node/tasks/config.yml

@@ -93,7 +93,7 @@
   - name: Apply ignition manifest
     command: "podman run {{ podman_mounts }} {{ podman_flags }} {{ mcd_command }}"
     vars:
-      podman_flags: "--privileged --rm -ti {{ release_image_mcd.stdout }}"
+      podman_flags: "--privileged --rm --entrypoint=/usr/bin/machine-config-daemon -ti {{ release_image_mcd.stdout }}"
       podman_mounts: "-v /:/rootfs -v /var/run/dbus:/var/run/dbus -v /run/systemd:/run/systemd"
       mcd_command: "start --node-name {{ ansible_hostname }} --once-from {{ temp_dir.path }}/bootstrap.ign --skip-reboot"