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
b0ecfc51
Commit
b0ecfc51
authored
Feb 24, 2021
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2bbac719
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
23 deletions
+22
-23
dnsmasq_douai.sh
dnsmasq_douai.sh
+20
-21
preseed_douai.cfg
preseed_douai.cfg
+2
-2
No files found.
dnsmasq_douai.sh
View file @
b0ecfc51
...
...
@@ -10,10 +10,10 @@ download_debian_10_if_needed
#download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
eth
0
MY_IP_ADDR
=
19
2.168.46.2
DHCP_RANGE
=
19
2.168.46.100,static,255.255.255.0
ROUTER_ADDR
=
19
2.168.46.2
MY_IF_NAME
=
VLAN10
0
MY_IP_ADDR
=
19
5.90.118.194
DHCP_RANGE
=
19
5.90.118.194,static,255.255.255.224
ROUTER_ADDR
=
19
5.90.118.193
DNS_SERVER
=
1.1.1.1
common
=
console
=
ttyS1,57600
...
...
@@ -84,7 +84,7 @@ iface lo inet loopback
allow-hotplug eno1
#iface eno1 inet dhcp
iface eno1 inet static
address 19
2.168.46
.
$((
50
+
$i
))
/24
address 19
5.90.118
.
$((
50
+
$i
))
/24
allow-hotplug ens9f1
iface ens9f1 inet static
...
...
@@ -115,19 +115,18 @@ exec dnsmasq -d --port=0 --log-dhcp \
--dhcp-boot
=
debian-installer/amd64/grubx64.efi
\
--enable-tftp
--tftp-root
=
$(
realpath
`
dirname
"
$0
"
`
)
\
--conf-file
=
/dev/null
\
--dhcp-host
=
00:22:4D:DD:64:39,192.168.46.101,1h
\
--dhcp-host
=
00:22:4D:DD:65:35,192.168.46.102,1h
\
--dhcp-host
=
00:22:4D:DD:64:C5,192.168.46.103,1h
\
--dhcp-host
=
00:22:4D:DD:64:CD,192.168.46.104,1h
\
--dhcp-host
=
00:22:4D:DD:64:85,192.168.46.105,1h
\
--dhcp-host
=
00:22:4D:DD:65:41,192.168.46.106,1h
\
--dhcp-host
=
00:22:4D:DD:64:5B,192.168.46.107,1h
\
--dhcp-host
=
00:22:4D:DD:65:37,192.168.46.108,1h
\
--dhcp-host
=
00:22:4D:DD:64:2D,192.168.46.109,1h
\
--dhcp-host
=
00:22:4D:DD:64:B7,192.168.46.110,1h
\
--dhcp-host
=
00:22:4D:DD:65:09,192.168.46.111,1h
\
--dhcp-host
=
00:22:4D:DD:64:71,192.168.46.112,1h
\
--dhcp-host
=
00:22:4D:DD:64:CB,192.168.46.113,1h
\
--dhcp-host
=
00:22:4D:DD:64:D9,192.168.46.114,1h
\
--dhcp-host
=
00:22:4D:DD:64:FF,192.168.46.115,1h
--dhcp-host
=
00:22:4D:DD:64:39,195.90.118.195,1h
\
--dhcp-host
=
00:22:4D:DD:65:35,195.90.118.196,1h
\
--dhcp-host
=
00:22:4D:DD:64:C5,195.90.118.197,1h
\
--dhcp-host
=
00:22:4D:DD:64:CD,195.90.118.198,1h
\
--dhcp-host
=
00:22:4D:DD:64:85,195.90.118.199,1h
\
--dhcp-host
=
00:22:4D:DD:65:41,195.90.118.200,1h
\
--dhcp-host
=
00:22:4D:DD:64:5B,195.90.118.201,1h
\
--dhcp-host
=
00:22:4D:DD:65:37,195.90.118.202,1h
\
--dhcp-host
=
00:22:4D:DD:64:2D,195.90.118.203,1h
\
--dhcp-host
=
00:22:4D:DD:64:B7,195.90.118.204,1h
\
--dhcp-host
=
00:22:4D:DD:65:09,195.90.118.205,1h
\
--dhcp-host
=
00:22:4D:DD:64:71,195.90.118.206,1h
\
--dhcp-host
=
00:22:4D:DD:64:CB,195.90.118.207,1h
\
--dhcp-host
=
00:22:4D:DD:64:D9,195.90.118.208,1h
\
--dhcp-host
=
00:22:4D:DD:64:FF,195.90.118.209,1h
\
preseed_douai.cfg
View file @
b0ecfc51
...
...
@@ -33,10 +33,10 @@ d-i pkgsel/include string ssh aptitude bwm-ng ca-certificates dbus-user-session
# - enable page up/down to search the history
d-i preseed/late_command string set -e; \
cd /target/root; sed -i /^mesg/q .profile; \
mkdir -m 0700 .ssh; cd .ssh; tftp -g -r authorized_keys 19
2.168.46.2
; \
mkdir -m 0700 .ssh; cd .ssh; tftp -g -r authorized_keys 19
5.90.118.194
; \
cd ../../etc; rm -f grub.d/30_otheros; echo LANG=C.UTF-8 >default/locale; \
sed -i '/history-search-/s/# //' inputrc; \
cd network; tftp -g -r `hostname`/interfaces 19
2.168.46.2
; \
cd network; tftp -g -r `hostname`/interfaces 19
5.90.118.194
; \
in-target sh -ec 'passwd -ld root; sed -i /^GRUB_CMDLINE_LINUX_DEFAULT=/s/quiet// /etc/default/grub; update-grub'
d-i time/zone string UTC
tasksel tasksel/first string
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