From 844fa6bff82a2e479c196e272c446ed6f1a2abab Mon Sep 17 00:00:00 2001 From: AJ Schroeder <6432150+ajschroeder@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:36:14 -0500 Subject: [PATCH] removed repo and templated network config --- .../leap-15-5/data/autoinst.pkrtpl.hcl | 37 +------------- .../leap-15-5/data/network.pkrtpl.hcl | 50 +++++++++++++++++++ 2 files changed, 52 insertions(+), 35 deletions(-) create mode 100644 builds/linux/opensuse/leap-15-5/data/network.pkrtpl.hcl diff --git a/builds/linux/opensuse/leap-15-5/data/autoinst.pkrtpl.hcl b/builds/linux/opensuse/leap-15-5/data/autoinst.pkrtpl.hcl index fa5c491..6f08fab 100644 --- a/builds/linux/opensuse/leap-15-5/data/autoinst.pkrtpl.hcl +++ b/builds/linux/opensuse/leap-15-5/data/autoinst.pkrtpl.hcl @@ -17,13 +17,6 @@ 99 / - - repo-openh264 - http://codecs.opensuse.org/openh264/openSUSE_Leap/ - Open H.264 Codec (openSUSE Leap) - 99 - - repo-sle-update http://download.opensuse.org/update/leap/15.5/sle/ @@ -54,14 +47,13 @@ auto false true - true + false gfxterm 8 false true vga=gfx-1024x768x16 - grub2 false @@ -451,32 +443,7 @@ - - - - AUTO - - - true - localhost - auto - - - - dhcp - eth0 - auto - public - - - true - true - false - - false - false - - +${network} auto diff --git a/builds/linux/opensuse/leap-15-5/data/network.pkrtpl.hcl b/builds/linux/opensuse/leap-15-5/data/network.pkrtpl.hcl new file mode 100644 index 0000000..5aac10a --- /dev/null +++ b/builds/linux/opensuse/leap-15-5/data/network.pkrtpl.hcl @@ -0,0 +1,50 @@ + + + + AUTO + + +%{ if ip != null ~} + +%{ for dns_server in dns ~} + ${dns_server} +%{ endfor ~} + +%{ else ~} + true + localhost +%{ endif ~} + auto + + + +%{ if ip != null ~} + static + ${ip} + ${netmask} +%{ else ~} + dhcp +%{ endif ~} + eth0 + auto + public + + + true + true + false + + false + false +%{ if ip != null ~} + + + default + - + ${gateway} + - + + +%{ endif ~} + + \ No newline at end of file