Added missing topology file. Set VIM background to dark.
This commit is contained in:
parent
5b4b075a43
commit
12fc3ab9ac
18
P4D2_2017_Fall/exercises/ecn/topology.json
Normal file
18
P4D2_2017_Fall/exercises/ecn/topology.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"hosts": [
|
||||
"h1",
|
||||
"h2",
|
||||
"h3",
|
||||
"h11",
|
||||
"h22"
|
||||
],
|
||||
"switches": {
|
||||
"s1": { "cli_input" : "s1-commands.txt" },
|
||||
"s2": { "cli_input" : "s2-commands.txt" },
|
||||
"s3": { "cli_input" : "s3-commands.txt" }
|
||||
},
|
||||
"links": [
|
||||
["h1", "s1"], ["h11", "s1"], ["s1", "s2", "0", 0.5], ["s1", "s3"],
|
||||
["s3", "s2"], ["s2", "h2"], ["s2", "h22"], ["s3", "h3"]
|
||||
]
|
||||
}
|
@ -126,10 +126,12 @@ cd .vim
|
||||
mkdir ftdetect
|
||||
mkdir syntax
|
||||
echo "au BufRead,BufNewFile *.p4 set filetype=p4" >> ftdetect/p4.vim
|
||||
echo "set bg=dark" >> /home/p4/.vimrc
|
||||
cp /home/vagrant/p4.vim syntax/p4.vim
|
||||
cd /home/vagrant
|
||||
sudo mv .vim /home/p4/.vim
|
||||
sudo chown -R p4:p4 /home/p4/.vim
|
||||
sudo chown p4:p4 /home/p4/.vimrc
|
||||
|
||||
# Adding Desktop icons
|
||||
DESKTOP=/home/${USER}/Desktop
|
||||
@ -166,4 +168,4 @@ Name[en_US]=Sublime Text
|
||||
Icon=sublime-text
|
||||
Exec=/opt/sublime_text/sublime_text
|
||||
Comment[en_US]=
|
||||
EOF
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user