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
Xiaowu Zhang
RapidSpace Autoinstall OS
Commits
963efd23
Commit
963efd23
authored
Jan 05, 2021
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2aa5caa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
dnsmasq_lille_edu.sh
dnsmasq_lille_edu.sh
+1
-17
No files found.
dnsmasq_lille_edu.sh
View file @
963efd23
#!/bin/sh
#!/bin/
ba
sh
set
-e
SCRIPT_DIR
=
$(
realpath
`
dirname
"
$0
"
`
)
...
...
@@ -64,21 +64,6 @@ source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug ens1
iface ens1 inet dhcp
EOF
else
cat
>
$hostname
/interfaces
<<
EOF
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The RJ45 interface
allow-hotplug eno1
#iface eno1 inet dhcp
...
...
@@ -92,7 +77,6 @@ iface ens9f1 inet dhcp
EOF
fi
i
=
`
expr
$i
+ 1
`
done
...
...
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