Skip to content

Commit caae289

Browse files
committed
Mention about installing IntelliJ plugins in VM readme
1 parent add8293 commit caae289

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

util/vm/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@ This script will:
2424
2. reduce VM disk size;
2525
3. generate a file named `ngsdn-tutorial.ova`.
2626

27-
Use credentials `sdn`/`rocks` to log in the Ubuntu system.
27+
Use credentials `sdn`/`rocks` to log in the Ubuntu system.
28+
29+
**Note on IntelliJ IDEA plugins:** plugins need to be installed manually. We
30+
recommend installing the following ones:
31+
32+
* https://plugins.jetbrains.com/plugin/10620-p4-plugin
33+
* https://plugins.jetbrains.com/plugin/7322-python-community-edition

util/vm/build-vm.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ function wait_vm_shutdown {
1515
# Provision
1616
vagrant up
1717

18-
VB_UUID=$(cat .vagrant/machines/default/virtualbox/id)
19-
VBoxManage snapshot "${VB_UUID}" take "pre-cleanup"
20-
2118
# Cleanup
19+
VB_UUID=$(cat .vagrant/machines/default/virtualbox/id)
2220
vagrant ssh -c 'bash /vagrant/cleanup.sh'
2321
sleep 5
2422
vboxmanage controlvm "${VB_UUID}" acpipowerbutton
2523
wait_vm_shutdown "${VB_UUID}"
2624
# Remove vagrant shared folder
27-
vboxmanage sharedfolder remove ${VB_UUID} -name "vagrant"
25+
vboxmanage sharedfolder remove "${VB_UUID}" -name "vagrant"
2826

2927
# Export
3028
rm -f ngsdn-tutorial.ova

0 commit comments

Comments
 (0)