From 84213c2a091499ebabe4975f4911c401de562ca7 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 14 Jun 2021 13:28:10 +0700 Subject: [PATCH] Revert "Always wipe disk and filesystems" This reverts commit 0091ab9f6f991eaba0136ae1fcdc2192686d7a93. --- .../pxe-boot/templates/http/ignition/ignition.yaml.j2 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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 4c203399..29b85734 100644 --- a/metal/roles/pxe-boot/templates/http/ignition/ignition.yaml.j2 +++ b/metal/roles/pxe-boot/templates/http/ignition/ignition.yaml.j2 @@ -8,17 +8,12 @@ passwd: - {{ ssh_public_key }} storage: - disks: - wipeTable: true - filesystems: - wipeFilesystem: true + # Set hostname files: - # Set hostname - path: /etc/hostname mode: 0644 contents: inline: {{ hostvars[item]['inventory_hostname'] }} - # Set static IP - path: /etc/NetworkManager/system-connections/{{ network_interface }}.nmconnection mode: 0600 contents: @@ -34,8 +29,8 @@ storage: dns={{ dns_server }}; dns-search= method=manual + # Set timezone links: - # Set timezone - path: /etc/localtime target: /usr/share/zoneinfo/{{ timezone }}