From 154fa56575de3f0cc1adafada4287d9385633ccf Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 13 Jun 2021 17:48:00 +0700 Subject: [PATCH] Enable Open-iSCSI daemon service --- .../roles/pxe-boot/templates/http/ignition/ignition.yaml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/metal/roles/pxe-boot/templates/http/ignition/ignition.yaml.j2 b/metal/roles/pxe-boot/templates/http/ignition/ignition.yaml.j2 index fdb7ffbe..ffe71394 100644 --- a/metal/roles/pxe-boot/templates/http/ignition/ignition.yaml.j2 +++ b/metal/roles/pxe-boot/templates/http/ignition/ignition.yaml.j2 @@ -24,6 +24,7 @@ storage: interface-name={{ network_interface }} permissions= [ipv4] + # TODO address1={{ hostvars[item]['ansible_host'] }}/24,{{ ansible_default_ipv4.gateway }} dns={{ dns_server }}; dns-search= @@ -32,3 +33,8 @@ storage: links: - path: /etc/localtime target: /usr/share/zoneinfo/{{ timezone }} + +systemd: + units: + - name: iscsid.service + enabled: true