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
b283f220
Commit
b283f220
authored
Jun 30, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New IP for hsinchu
parent
7ba31c7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
29 deletions
+36
-29
dnsmasq_hsinchu.sh
dnsmasq_hsinchu.sh
+36
-29
No files found.
dnsmasq_hsinchu.sh
View file @
b283f220
...
...
@@ -8,30 +8,30 @@ $SCRIPT_DIR/download_boot_systems.sh
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
VLAN100
MY_IP_ADDR
=
1
0.0.45.1
DHCP_RANGE
=
1
0.0.45.100,static,255.255.255.0
ROUTER_ADDR
=
1
0.0.45.1
DNS_SERVER
=
1.2.4
.8
MY_IP_ADDR
=
1
24.219.111.33
DHCP_RANGE
=
1
24.219.111.33,static,255.255.255.224
ROUTER_ADDR
=
1
24.219.111.62
DNS_SERVER
=
8.8.8
.8
common
=
console
=
ttyS0,57600
mac
=
'
98:03:9b:9b:8a:4
6
b8:59:9f:37:9a:b
c
b8:59:9f:37:9a:c
4
b8:59:9f:37:9a:9
c
b8:59:9f:36:2b:e
2
b8:59:9f:37:9f:c
c
b8:59:9f:37:9f:9
c
b8:59:9f:37:9b:8
c
b8:59:9f:35:68:0
6
b8:59:9f:35:5f:6
6
98:03:9b:9a:e5:8
a
b8:59:9f:37:
9a:a4
b8:59:9f:37:9a:b
4
98:03:9b:9c:22:8
8
98:03:9b:9b:8a:4
7
b8:59:9f:37:9a:b
d
b8:59:9f:37:9a:c
5
b8:59:9f:37:9a:9
d
b8:59:9f:36:2b:e
3
b8:59:9f:37:9f:c
d
b8:59:9f:37:9f:9
d
b8:59:9f:37:9b:8
d
b8:59:9f:35:68:0
7
b8:59:9f:35:5f:6
7
98:03:9b:9a:e5:8
b
b8:59:9f:37:
a3:a5
b8:59:9f:37:9a:b
5
98:03:9b:9c:22:8
9
'
i
=
2
i
=
1
hostname_prefix
=
hsinchu-tiogapass-
(
...
...
@@ -84,15 +84,9 @@ iface eno1 inet static
allow-hotplug ens9f1
iface ens9f1 inet static
address 10.0.45.
$((
50
+
$i
))
/24
gateway 10.0.45.1
dns-nameservers 1.2.4.8 223.5.5.5 223.6.6.6
#allow-hotplug ens9f0
##iface ens9f0 inet dhcp
#iface ens9f0 inet static
# address 113.24.192.26/30
# gateway 113.24.192.25
address 124.219.111.
$((
33
+
$i
))
/27
gateway 124.219.111.62
dns-nameservers 8.8.8.8 8.8.4.4
EOF
i
=
`
expr
$i
+ 1
`
done
...
...
@@ -111,5 +105,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
=
98:03:9b:9b:8a:47,10.0.45.101,1h
--dhcp-host
=
98:03:9b:9b:8a:47,124.219.111.34,1h
\
--dhcp-host
=
b8:59:9f:37:9a:bd,124.219.111.35,1h
\
--dhcp-host
=
b8:59:9f:37:9a:c5,124.219.111.36,1h
\
--dhcp-host
=
b8:59:9f:37:9a:9d,124.219.111.37,1h
\
--dhcp-host
=
b8:59:9f:36:2b:e3,124.219.111.38,1h
\
--dhcp-host
=
b8:59:9f:37:9f:cd,124.219.111.39,1h
\
--dhcp-host
=
b8:59:9f:37:9f:9d,124.219.111.40,1h
\
--dhcp-host
=
b8:59:9f:37:9b:8d,124.219.111.41,1h
\
--dhcp-host
=
b8:59:9f:35:68:07,124.219.111.42,1h
\
--dhcp-host
=
b8:59:9f:35:5f:67,124.219.111.43,1h
\
--dhcp-host
=
98:03:9b:9a:e5:8b,124.219.111.44,1h
\
--dhcp-host
=
b8:59:9f:37:a3:a5,124.219.111.45,1h
\
--dhcp-host
=
b8:59:9f:37:9a:b5,124.219.111.46,1h
\
--dhcp-host
=
98:03:9b:9c:22:89,124.219.111.47,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