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
890c1c3a
Commit
890c1c3a
authored
Aug 07, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly download needed image if they don't exist
parent
b015148b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
19 deletions
+20
-19
dnsmasq_hsinchu.sh
dnsmasq_hsinchu.sh
+4
-1
dnsmasq_hydro66.sh
dnsmasq_hydro66.sh
+4
-1
dnsmasq_kuklen.sh
dnsmasq_kuklen.sh
+4
-1
dnsmasq_xinzhou.sh
dnsmasq_xinzhou.sh
+4
-1
dnsmasq_xinzhou_unicom.sh
dnsmasq_xinzhou_unicom.sh
+4
-1
download_boot_systems.sh
download_boot_systems.sh
+0
-14
No files found.
dnsmasq_hsinchu.sh
View file @
890c1c3a
...
...
@@ -4,7 +4,10 @@ set -e
SCRIPT_DIR
=
$(
realpath
`
dirname
"
$0
"
`
)
$SCRIPT_DIR
/download_boot_systems.sh
.
$SCRIPT_DIR
/download_boot_systems.sh
download_debian_10_if_needed
download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
VLAN100
...
...
dnsmasq_hydro66.sh
View file @
890c1c3a
...
...
@@ -4,7 +4,10 @@ set -e
SCRIPT_DIR
=
$(
realpath
`
dirname
"
$0
"
`
)
$SCRIPT_DIR
/download_boot_systems.sh
.
$SCRIPT_DIR
/download_boot_systems.sh
download_debian_10_if_needed
download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
VLAN100
...
...
dnsmasq_kuklen.sh
View file @
890c1c3a
...
...
@@ -4,7 +4,10 @@ set -e
SCRIPT_DIR
=
$(
realpath
`
dirname
"
$0
"
`
)
$SCRIPT_DIR
/download_boot_systems.sh
.
$SCRIPT_DIR
/download_boot_systems.sh
download_debian_10_if_needed
download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
eth0
...
...
dnsmasq_xinzhou.sh
View file @
890c1c3a
...
...
@@ -4,7 +4,10 @@ set -e
SCRIPT_DIR
=
$(
realpath
`
dirname
"
$0
"
`
)
$SCRIPT_DIR
/download_boot_systems.sh
.
$SCRIPT_DIR
/download_boot_systems.sh
download_debian_10_if_needed
download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
VLAN100
...
...
dnsmasq_xinzhou_unicom.sh
View file @
890c1c3a
...
...
@@ -4,7 +4,10 @@ set -e
SCRIPT_DIR
=
$(
realpath
`
dirname
"
$0
"
`
)
$SCRIPT_DIR
/download_boot_systems.sh
.
$SCRIPT_DIR
/download_boot_systems.sh
download_debian_10_if_needed
download_sysrescuecd_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
ens9f1
...
...
download_boot_systems.sh
View file @
890c1c3a
...
...
@@ -16,17 +16,3 @@ then
mount
-o
loop systemrescuecd-amd64-6.1.1.iso sysresccd
fi
}
launch_dnsmasq
()
{
exec
dnsmasq
-d
--port
=
0
--log-dhcp
\
--interface
=
$MY_IF_NAME
\
--bind-interfaces
\
--except-interface
=
lo
\
--listen-address
=
$MY_IP_ADDR
\
--dhcp-range
=
$DHCP_RANGE
\
--dhcp-option
=
option:router,
$ROUTER_ADDR
\
--dhcp-option
=
option:dns-server,
$DNS_SERVER
\
--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
}
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