Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RapidSpace Autoinstall OS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
RapidSpace Autoinstall OS
Commits
96cbe629
Commit
96cbe629
authored
Jan 13, 2025
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit current changes for Ubuntu 22
parent
e364b062
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
download_boot_systems.sh
download_boot_systems.sh
+10
-0
lille/dnsmasq.sh
lille/dnsmasq.sh
+11
-3
No files found.
download_boot_systems.sh
View file @
96cbe629
...
...
@@ -48,3 +48,13 @@ then
tar
-xzvf
netboot.tar.gz
fi
}
download_ubuntu_22_if_needed
()
{
download_debian_10_if_needed
if
[
!
-d
ubuntu-installer
]
then
rm
-f
netboot.tar.gz
wget https://releases.ubuntu.com/22.04.4/ubuntu-22.04.4-live-server-amd64.iso
mkdir
ubuntu-installer
mount
-o
loop ubuntu-22.04.4-live-server-amd64.iso ubuntu-installer
fi
}
lille/dnsmasq.sh
View file @
96cbe629
...
...
@@ -6,7 +6,7 @@ cd $SCRIPT_DIR
.
$SCRIPT_DIR
/../download_boot_systems.sh
download_debian_11_if_needed
download_ubuntu_2
0
_if_needed
download_ubuntu_2
2
_if_needed
#download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
...
...
@@ -70,8 +70,8 @@ menuentry 'Debian Installer (manual install) ttyS1,115200 (for Aowanda)' {
initrd /debian-installer/amd64/initrd.gz
}
menuentry 'Ubuntu Installer (manual install) ttyS0,57600' {
linux /ubuntu-installer/
amd64/linux
vga=788 language=C country=FR keymap=fr domain= --- mitigations=off console=ttyS0,57600
initrd /ubuntu-installer/
amd64/initrd.gz
linux /ubuntu-installer/
casper/vmlinuz ip=dhcp url=http://
\$
pxe_default_server:8000/ubuntu-22.04.4-live-server-amd64.iso
vga=788 language=C country=FR keymap=fr domain= --- mitigations=off console=ttyS0,57600
initrd /ubuntu-installer/
casper/initrd
}
menuentry 'SystemRescueCd' {
linux /sysresccd/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archiso_http_srv=http://
\$
pxe_default_server:69/sysresccd/ checksum ip=dhcp console=ttyS1,57600
...
...
@@ -107,6 +107,8 @@ iface ens9 inet dhcp
EOF
done
python3
-m
http.server &
# create authorized_keys if it doesn't exist
[
-f
authorized_keys
]
||
ln
-s
../authorized_keys
exec
dnsmasq
-d
--port
=
0
--log-dhcp
\
...
...
@@ -144,3 +146,9 @@ exec dnsmasq -d --port=0 --log-dhcp \
--dhcp-host
=
00:22:4d:da:8a:72,192.168.46.130,1h
\
--dhcp-host
=
00:22:4d:dd:64:45,192.168.46.131,1h
\
--dhcp-host
=
00:22:4d:dd:64:44,192.168.46.132,1h
\
--dhcp-host
=
4c:38:d5:1d:da:ed,192.168.46.133,1h
\
--dhcp-host
=
4c:38:d5:1d:da:ec,192.168.46.134,1h
\
--dhcp-host
=
4c:38:d5:1e:ef:f1,192.168.46.135,1h
\
--dhcp-host
=
4c:38:d5:1e:ef:f0,192.168.46.136,1h
\
--dhcp-host
=
4c:38:d5:1d:ac:59,192.168.46.137,1h
\
--dhcp-host
=
4c:38:d5:1d:ac:5a,192.168.46.138,1h
\
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment