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
eba01eb3
Commit
eba01eb3
authored
Jul 20, 2023
by
Thomas Gambier
🚴🏼
Committed by
Lu Xu
Jul 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update scripts to automatically install lille-edu-tiogapass-003 and lille-edu-tiogapass-004
parent
ee8c8163
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
lille/dnsmasq.sh
lille/dnsmasq.sh
+12
-4
lille/preseed.cfg
lille/preseed.cfg
+1
-1
No files found.
lille/dnsmasq.sh
View file @
eba01eb3
...
...
@@ -23,17 +23,25 @@ then
set hostname=lille-edu-leopard-000
set interface=eno1
elif [
\$
net_default_mac = 00:22:4d:d9:0a:aa ];
then
then
set hostname=lille-edu-tiogapass-001
set interface=ens9
elif [
\$
net_default_mac = 00:22:4d:da:ca:87 ];
then
then
set hostname=lille-edu-capri-001
set interface=eno1
elif [
\$
net_default_mac = 00:22:4d:da:ca:a7 ];
then
then
set hostname=lille-edu-capri-002
set inteface=eno1
elif [
\$
net_default_mac = 00:22:4d:da:5b:a0 ];
then
set hostname=lille-edu-tiogapass-003
set inteface=ens9
elif [
\$
net_default_mac = 00:22:4d:da:8a:42 ];
then
set hostname=lille-edu-tiogapass-004
set inteface=ens9
else
set hostname=
set interface=
...
...
@@ -76,7 +84,7 @@ EOF
)
>
debian-installer/amd64/grub/grub.cfg
for
hostname
in
lille-edu-leopard-000 lille-edu-tiogapass-001 lille-edu-capri-001 lille-edu-capri-002
for
hostname
in
lille-edu-leopard-000 lille-edu-tiogapass-001 lille-edu-capri-001 lille-edu-capri-002
lille-edu-tiogapass-003 lille-edu-tiogapass-004
do
mkdir
-p
$hostname
cat
>
$hostname
/interfaces
<<
EOF
...
...
lille/preseed.cfg
View file @
eba01eb3
...
...
@@ -12,7 +12,7 @@ d-i mirror/country string manual
d-i mirror/http/hostname string ftp.fr.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i partman/early_command string set -e; x=`grep -l 4
8839716
8 /sys/block/*/size`; x=${x%/*}; x=/dev/${x##*/}; debconf-set partman-auto/disk $x; debconf-set grub-installer/bootdev $x # TODO
d-i partman/early_command string set -e; x=`grep -l 4
6886212
8 /sys/block/*/size`; x=${x%/*}; x=/dev/${x##*/}; debconf-set partman-auto/disk $x; debconf-set grub-installer/bootdev $x # TODO
d-i partman-auto/expert_recipe string : 1024 1 1024 free method{ efi } format{ } . 1 1 -1 xfs method{ format } format{ } use_filesystem{ } filesystem{ xfs } mountpoint{ / } options/noatime{ } .
d-i partman-auto/method string regular
d-i partman-basicfilesystems/no_swap string false
...
...
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