Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tom
2014-09-25 09:50:04 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7fc183701fdfb8f49dff6c89f6ef6613501f2d48
7fc18370
1 parent
aa1e2c3b
Fixed onos-patch-vm script.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
tools/test/bin/onos-patch-vm
tools/test/bin/onos-patch-vm
View file @
7fc1837
...
...
@@ -15,6 +15,8 @@ name=${2:-onos-1}
ssh
$remote
"
sudo perl -pi.bak -e
\"
s/127.0.1.1.*/127.0.1.1
$name
/g
\"
/etc/hosts
sudo
echo
$name
/etc/hostname
sudo
perl -pi.bak -e
\"
s/.*/
$name
/g
\"
/etc/hostname
sudo hostname
$name
"
\ No newline at end of file
"
2>/dev/null
echo
"
$address
:
$(
ssh
$remote
hostname
)
"
...
...
Please
register
or
login
to post a comment