summaryrefslogtreecommitdiff
path: root/data/live-build-config
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-08-30 09:14:59 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-08-30 09:14:59 +0000
commitcb330a797ef8c56d68220afc44798bcf8f2e0a47 (patch)
treec09226fd7653ac2447c3bee6da9e5588db84e7aa /data/live-build-config
parent0255c038718a841190e709b89bb0ebe4449e4017 (diff)
downloadvyos-build-cb330a797ef8c56d68220afc44798bcf8f2e0a47.tar.gz
vyos-build-cb330a797ef8c56d68220afc44798bcf8f2e0a47.zip
T5524: Add config directory for livecd
Add the '/config' directory for live image boot One of the reasons the DHCP-server uses lease from this directory T2958
Diffstat (limited to 'data/live-build-config')
-rwxr-xr-xdata/live-build-config/hooks/live/23-config_mkdir.chroot5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/live-build-config/hooks/live/23-config_mkdir.chroot b/data/live-build-config/hooks/live/23-config_mkdir.chroot
new file mode 100755
index 00000000..e18ee3b6
--- /dev/null
+++ b/data/live-build-config/hooks/live/23-config_mkdir.chroot
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo I: Create config directory.
+
+mkdir -p /config