Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Carlos Ramos Carreño
slapos.package
Commits
659e6633
Commit
659e6633
authored
Jul 26, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-configure: refine code with csih_inform
parent
b36f860d
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
113 additions
and
121 deletions
+113
-121
windows/scripts/slapos-configure.sh
windows/scripts/slapos-configure.sh
+110
-120
windows/scripts/slapos-cygwin-bootstrip.sh
windows/scripts/slapos-cygwin-bootstrip.sh
+3
-1
No files found.
windows/scripts/slapos-configure.sh
View file @
659e6633
This diff is collapsed.
Click to expand it.
windows/scripts/slapos-cygwin-bootstrip.sh
View file @
659e6633
...
...
@@ -116,7 +116,7 @@ if ! netsh interface ipv6 show interface | grep -q "\\b${slapos_ifname}\\b" ; th
ipwin
install
$WINDIR
\\
inf
\\
netloop.inf
*
msloop
${
slapos_ifname
}
||
csih_error
"install network interface
${
slapos_ifname
}
failed"
fi
ip
-4
addr add
$(
echo
${
ipv4_local_network
}
|
sed
-e
"s%
\.
0/%.1/%g"
)
dev
$
slapos_ifname
||
ip
-4
addr add
$(
echo
${
ipv4_local_network
}
|
sed
-e
"s%
\.
0/%.1/%g"
)
dev
$
{
slapos_ifname
}
||
csih_error
"add ipv4 address failed"
csih_inform
"Configure slapos network OK"
...
...
@@ -129,6 +129,7 @@ csih_inform "Starting configure IPv6 protocol ..."
netsh interface ipv6 show interface
>
/dev/null
||
\
netsh interface ipv6
install
||
\
csih_error
"install IPv6 protocol failed"
csih_inform
"Configure IPv6 protocol OK"
echo
""
...
...
@@ -231,6 +232,7 @@ csih_inform "************************************************************"
csih_inform
"Configure slapos client and node OK"
echo
""
# -----------------------------------------------------------
# Format slapos node
# -----------------------------------------------------------
...
...
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