[X2Go-Commits] [live-build-x2go] 10/10: add ipv6 howto

git-admin at x2go.org git-admin at x2go.org
Fri Dec 15 22:06:22 CET 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/bookworm-fvwm
in repository live-build-x2go.

commit c01d61bcbc21e499fd8b6fe034036550febd8e3d
Author: Juri Grabowski <debian at jugra.de>
Date:   Mon Jul 10 18:32:40 2023 +0200

    add ipv6 howto
---
 README.IPv6 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 README.txt  |  2 +-
 2 files changed, 51 insertions(+), 1 deletion(-)

diff --git a/README.IPv6 b/README.IPv6
new file mode 100644
index 0000000..c7d2c19
--- /dev/null
+++ b/README.IPv6
@@ -0,0 +1,50 @@
+# IPv6-only netboot setup:
+cat <<'EOF'>>/etc/radvd.conf
+interface vmbr7 {
+  AdvSendAdvert on;
+  AdvManagedFlag on;
+  AdvOtherConfigFlag on;
+  MinRtrAdvInterval 3;
+  MaxRtrAdvInterval 10;
+  prefix ::/64 {
+    AdvOnLink on;
+    AdvRouterAddr on;
+  };
+};
+EOF
+
+cat <<'EOF'>>/etc/dhcp/dhcpd6.conf
+authoritative;
+option dhcp6.bootfile-url code 59 = string;
+option dhcp6.client-arch-type code 61 = array of unsigned integer 16;
+option dhcp6.vendor-class code 16 = {integer 32, integer 16, string};
+class "HTTPClient" {
+        match substring (option dhcp6.vendor-class, 6, 21);
+        }
+subclass "HTTPClient" "HTTPClient:Arch:00016" {
+        option dhcp6.bootfile-url "http://[2001:db8::]/snponly.efi";
+        option dhcp6.vendor-class 0 10 "HTTPClient";
+}
+
+if option dhcp6.client-arch-type = 00:07 {
+        option dhcp6.bootfile-url "tftp://[2001:db8::]/snponly.efi";
+}   else {
+        # Support a hypothetical BIOS system that can PXE boot over IPv6
+        option dhcp6.bootfile-url "tftp://[2001:db8::]/undionly.kpxe";
+}
+option dhcp6.name-servers 2001:db8::;
+option dhcp6.domain-search "example.com";
+host ipv6test { hardware ethernet 00:00:5E:00:53:FF; fixed-address6 2001:db8::1; }
+subnet6 2001:db8::/64 {
+range6 2001:db8::2 2001:db8::ffff:ffff:ffff:ffff;
+}
+
+EOF
+
+cat <<'EOF'>x2go.ipxe
+#!ipxe
+ifconf -c ipv6
+kernel http://[2001:db8::]/vmlinuz boot=live components fetch=http://[2001:db8::]/filesystem.squashfs noswap vconsole.keymap=de-latin1-nodeadkeys kernel.sysrq=1 keep_bootcon sysrq_always_enabled log_buf_len=1M quickreboot silent splash toram lang=de locales=de_DE.UTF-8 keyboard-layouts=de consoleblank=0 quiet initrd=initrd.img rootwait=120 live-config
+initrd http://[2001:db8::]/initrd.img
+boot
+EOF
diff --git a/README.txt b/README.txt
index 5a88672..1008c1a 100644
--- a/README.txt
+++ b/README.txt
@@ -49,7 +49,7 @@ IP_OF_FQDN=`dig $FQDN +short`
 DIR=/srv/live-build-x2go-`date +"%Y%m%d%H%M%S"`
 mkdir $DIR
 cd $DIR
-lb config -d bookworm --chroot-filesystem squashfs --apt-indices false --cache-packages false --config https://gitlab.x2go.org/x2go/live-build-x2go.git::feature/bookworm-fvwm --archive-areas "main contrib non-free" --apt-recommends false --firmware-binary false --updates true --backports false --win32-loader false --loadlin false --security false  --initsystem systemd -b netboot --bootappend-live vconsole.keymap=de-latin1-nodeadkeys kernel.sysrq=1 sysrq_always_enabled log_buf_len=1M quic [...]
+lb config -d bookworm --chroot-filesystem squashfs --apt-indices false --cache-packages false --config https://gitlab.x2go.org/x2go/live-build-x2go.git::feature/bookworm-fvwm --archive-areas "main contrib non-free non-free-firmware" --apt-recommends false --updates true --backports false --win32-loader false --loadlin false --security true  --initsystem systemd -b netboot --bootappend-live vconsole.keymap=de-latin1-nodeadkeys kernel.sysrq=1 sysrq_always_enabled log_buf_len=1M quickreboot [...]
 lb build
 cd `dirname $DIR`
 ln -nfs `basename $DIR` lb-x2go

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list