Skip to content

Commit

Permalink
Remove pycharm
Browse files Browse the repository at this point in the history
  • Loading branch information
ataffanel committed Jan 30, 2018
1 parent c694928 commit 58e61f1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 22 deletions.
11 changes: 5 additions & 6 deletions bitcrazeVM_xubuntu-14.04.4-desktop_createVM.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
"guest_additions_mode": "disable",
"disk_size": "30000",
"hard_drive_interface": "sata",

"vboxmanage": [
["modifyvm", "{{.Name}}", "--memory", "1024", "--vram", "16", "--mouse", "usbtablet", "--rtcuseutc", "on", "--audio", "pulse", "--audiocodec", "ad1980", "--usb", "on", "--usbehci", "on", "--nestedpaging", "off"],
["storageattach", "{{.Name}}", "--storagectl", "SATA Controller", "--port", "0", "--nonrotational", "on", "--discard", "on"]
],

"iso_url": "xubuntu-14.04.4-desktop-i386.iso",
"iso_checksum": "2138d30d5978092b4c054ed623d54fdb",
"iso_checksum_type": "md5",

"ssh_password": "{{user `password`}}",
"ssh_username": "{{user `user`}}",
"ssh_wait_timeout": "10000s",

"boot_command": [
"<enter><enter><esc><enter> <wait>",
"/casper/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg ",
Expand All @@ -35,11 +35,10 @@
"boot_wait": "4s",
"http_directory": "http",
"shutdown_command": "echo {{user `password`}} | sudo -S shutdown -P now",

"vboxmanage_post": [
["modifyhd", "output-virtualbox-iso/{{.Name}}.vdi", "--compact"]
]
}
]
}

5 changes: 0 additions & 5 deletions bitcrazeVM_xubuntu-14.04.4-desktop_provisionVM.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
"source": "{{user `contentDir`}}/{{user `gccFile`}}",
"destination": "/home/bitcraze/{{user `gccFile`}}"
},
{
"type": "file",
"source": "{{user `contentDir`}}/{{user `pycharmFile`}}",
"destination": "/home/bitcraze/{{user `pycharmFile`}}"
},
{
"type": "file",
"source": "{{user `contentDir`}}/{{user `eclipseFile`}}",
Expand Down
3 changes: 0 additions & 3 deletions createBitcrazeVM.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ PACKER_FILE2=bitcrazeVM_xubuntu-14.04.4-desktop_provisionVM.json
GCC_ARM_FILE="gcc-arm-none-eabi-4_9-2014q4-20141203-linux.tar.bz2"
GCC_ARM_URL="https://launchpad.net/gcc-arm-embedded/4.9/4.9-2014-q4-major/+download/$GCC_ARM_FILE"

PYCHARM_FILE="pycharm-community-2016.1.4.tar.gz"
PYCHARM_URL="https://download.jetbrains.com/python/$PYCHARM_FILE"

ECLIPSE_FILE="eclipse-cpp-mars-1-linux-gtk.tar.gz"
ECLIPSE_URL="http://saimei.acc.umu.se/mirror/eclipse.org/technology/epp/downloads/release/mars/1/$ECLIPSE_FILE"

Expand Down
8 changes: 0 additions & 8 deletions provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,6 @@ mv gcc-arm-none-eabi-*/ ~/bin/gcc-arm-none-eabi
echo "\nPATH=\$PATH:$HOME/bin/gcc-arm-none-eabi/bin" >> ~/.profile
rm gcc-arm-none-eabi-*.tar.bz2

if [ $ENABLE_PYCHARM -eq 1 ]; then
# Extract PyCharm
tar xf pycharm-community-*.tar.gz -C /opt/
mv /opt/pycharm-community-* /opt/pycharm-community
echo "\nPATH=\$PATH:/opt/pycharm-community/bin" >> ~/.profile
fi
rm pycharm-community-*.tar.gz

# Extract Eclipse
tar xf eclipse-cpp-mars-1-linux-gtk.tar.gz -C /opt
echo "\nPATH=\$PATH:/opt/eclipse" >> ~/.profile
Expand Down

0 comments on commit 58e61f1

Please sign in to comment.