Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
2245193c
Commit
2245193c
authored
Mar 05, 2019
by
Ivan A. Melnikov
Committed by
Michael Shigorin
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use/net: Cleanup domain from resolv.conf
parent
21c44d52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
50-net-resolv
features.in/net/rootfs/image-scripts.d/50-net-resolv
+1
-1
No files found.
features.in/net/rootfs/image-scripts.d/50-net-resolv
View file @
2245193c
...
...
@@ -7,4 +7,4 @@ find /var -name resolv.conf -or -name nsswitch.conf -delete
# hasher might have carried host /etc/hosts over, need to overwrite
echo
"127.0.0.1 localhost.localdomain localhost"
>
/etc/hosts
sed
-ri
"/^(search|nameserver)/d"
/etc/resolv.conf
sed
-ri
"/^(search|nameserver
|domain
)/d"
/etc/resolv.conf
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