Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mininet-environment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
561p-course-staff
mininet-environment
Commits
59bff277
Verified
Commit
59bff277
authored
4 years ago
by
Kyle Yan
Browse files
Options
Downloads
Patches
Plain Diff
update readme with more instructions
parent
4db286bd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+23
-0
23 additions, 0 deletions
README.md
with
23 additions
and
0 deletions
README.md
+
23
−
0
View file @
59bff277
...
...
@@ -2,3 +2,26 @@
Install Vagrant, and run the VM with
`vagrant up`
!
## Usage
*
Install Vagrant. If you are using Homebrew on macOS, just use
`brew install vagrant`
.
*
Clone this repo and
`cd`
into the directory.
*
Run
`vagrant up`
. This should set up your VM in a few minutes.
*
Run
`vagrant ssh`
in the directory to SSH into the VM.
*
If you need to copy files from/to the VM, you can use the vagrant-ssh plugin:
install with
vagrant plugin install vagrant-scp
and then you can copy files to the VM:
vagrant scp local/path/to/file :remote/path/to/file
or from the VM:
vagrant scp :remote/path/to/file local/path/to/file
*
To use VSCode with the Vagrant VM, first run
`vagrant ssh-config`
in the
repo's directory, and then append the output to your
`~/.ssh/config`
file.
You can rename the host as you like (change the first line to
`Host mininet`
).
Then in VSCode you can connect to the
`mininet`
host.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment