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
411f43da
Commit
411f43da
authored
Nov 19, 2021
by
Thomas Gambier
🚴🏼
Committed by
Lu Xu
Nov 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Ubuntu 20 and Debian 10 without automatic install options
parent
657843fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
4 deletions
+29
-4
dnsmasq_lille.sh
dnsmasq_lille.sh
+19
-3
download_boot_systems.sh
download_boot_systems.sh
+10
-1
No files found.
dnsmasq_lille.sh
View file @
411f43da
...
...
@@ -7,6 +7,7 @@ SCRIPT_DIR=$(realpath `dirname "$0"`)
.
$SCRIPT_DIR
/download_boot_systems.sh
download_debian_10_if_needed
download_ubuntu_20_if_needed
#download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
...
...
@@ -37,16 +38,27 @@ elif [ \$net_default_mac = 00:22:4d:da:ca:a7 ];
then
set hostname=lille-edu-capri-002
set inteface=eno1
else
set hostname=unknown
set interface=unknown
fi
unset timeout
menuentry 'Debian Installer' {
linux /debian-installer/amd64/linux
vga=788 url=tftp://
\$
pxe_default_server/preseed_lille.cfg language=C country=FR keymap=fr hostname=
\$
hostname domain= interface=
\$
interface --- mitigations=off
$common
menuentry 'Debian Installer
(automatic install)
' {
linux /debian-installer/amd64/linux
url=tftp://
\$
pxe_default_server/preseed_lille.cfg vga=788 language=C country=FR keymap=fr hostname=
\$
hostname domain= interface=
\$
interface --- mitigations=off console=ttyS1,57600
initrd /debian-installer/amd64/initrd.gz
}
menuentry 'Debian Installer (manual install)' {
linux /debian-installer/amd64/linux vga=788 language=C country=FR keymap=fr hostname=
\$
hostname domain= interface=
\$
interface --- mitigations=off console=ttyS1,57600
initrd /debian-installer/amd64/initrd.gz
}
menuentry 'Ubuntu Installer' {
linux /ubuntu-installer/amd64/linux vga=788 language=C country=FR keymap=fr --- mitigations=off console=ttyS0,57600
initrd /ubuntu-installer/amd64/initrd.gz
}
menuentry 'SystemRescueCd' {
linux /sysresccd/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archiso_http_srv=http://
\$
pxe_default_server:69/sysresccd/ checksum ip=dhcp
$common
linux /sysresccd/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archiso_http_srv=http://
\$
pxe_default_server:69/sysresccd/ checksum ip=dhcp
console=ttyS1,57600
initrd /sysresccd/sysresccd/boot/intel_ucode.img /sysresccd/sysresccd/boot/amd_ucode.img /sysresccd/sysresccd/boot/x86_64/sysresccd.img
}
menuentry 'Exit' {
...
...
@@ -96,3 +108,7 @@ exec dnsmasq -d --port=0 --log-dhcp \
--dhcp-host
=
00:22:4d:da:ca:a7,192.168.46.104,1h
\
--dhcp-host
=
00:22:4d:da:ca:88,192.168.46.105,1h
\
--dhcp-host
=
00:22:4d:da:ca:87,192.168.46.106,1h
\
--dhcp-host
=
00:22:4d:d9:0a:ab,192.168.46.107,1h
\
--dhcp-host
=
00:22:4d:d9:0a:aa,192.168.46.108,1h
\
--dhcp-host
=
00:22:4d:da:8a:3b,192.168.46.109,1h
\
--dhcp-host
=
00:22:4d:da:8a:3a,192.168.46.110,1h
\
download_boot_systems.sh
View file @
411f43da
#!/bin/sh
download_debian_10_if_needed
()
{
if
[
!
-
f
version.info
]
if
[
!
-
d
debian-installer
]
then
rm
-f
netboot.tar.gz
rm
-f
grubx64.efi
...
...
@@ -29,3 +29,12 @@ then
mount
-o
loop CentOS-8.2.2004-x86_64-minimal.iso centos-installer
fi
}
download_ubuntu_20_if_needed
()
{
download_debian_10_if_needed
if
[
!
-d
ubuntu-installer
]
then
rm
-f
netboot.tar.gz
wget http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/netboot.tar.gz
tar
-xzvf
netboot.tar.gz
fi
}
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