This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@rockj-VirtualBox:~/nav-mirror-netmap/tools$ ./rvm_and_veewee_install.sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 184 100 184 0 0 162 0 0:00:01 0:00:01 --:--:-- 202 | |
100 14536 100 14536 0 0 8945 0 0:00:01 0:00:01 --:--:-- 8945 | |
Turning on ignore dotfiles mode. | |
Downloading RVM from wayneeseguin branch stable | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 124 100 124 0 0 176 0 --:--:-- --:--:-- --:--:-- 254 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
B=$( cd $(dirname $0) ; pwd -P ) | |
UPSTREAM=$(basename $B/libqtweetlib-upstream) | |
cd $B | |
tar -czvf libqtweetlib-upstream.tar.gz "$UPSTREAM" --exclude .git --exclude "*.log" | |
tar -zxf libqtweetlib-upstream.tar.gz --transform="s/libqtweetlib-upstream/libqtweetlib-0.5/" | |
tar -cvzf libqtweetlib-0.5.orig.tar.gz libqtweetlib-0.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import sys | |
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "../..")) | |
if __name__ == "__main__": | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nav.django.settings") | |
from django.core.management import execute_from_command_line | |
execute_from_command_line(sys.argv) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install rvm under VCS-ROOT/tools/.rvm and veewee to VCS-ROOT/tools/veewee | |
# | |
# Based on http://stacktoheap.com/blog/2013/06/19/building-a-debian-wheezy-vagrant-box-using-veewee/ | |
# :-) | |
unset rvm_bin_path | |
unset GEM_HOME | |
unset IRBRC | |
unset MY_RUBY_HOME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ rvm rvmrc warning | |
M-bM-^HM-4 rvm rvmrc warning [check|ignore|reset] [<path>|all.rvmrcs|allGemfiles] | |
M-bM-^HM-4 rvm rvmrc warning [help|list] | |
Manage warnings for .rvmrc / Gemfile | |
For additional information please visit RVM's documentation website: | |
https://rvm.io/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ pwd | |
/media/DATA-LINUX/dev/python/nav-mirror/tools | |
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ rvm rvmrc warning ignore /media/DATA-LINUX/dev/python/nav-mirror/tools/veewee/.rvmrc | |
rockj@pandora:/media/DATA-LINUX/dev/python/nav-mirror/tools$ echo $? | |
0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# Builds a basic debian wheezy base image to be used | |
# with vagrant. | |
# | |
# Based on http://stacktoheap.com/blog/2013/06/19/building-a-debian-wheezy-vagrant-box-using-veewee/ | |
# :-) | |
unset rvm_bin_path | |
unset GEM_HOME | |
unset IRBRC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unset rvm_bin_path | |
unset GEM_HOME | |
unset IRBRC | |
unset MY_RUBY_HOME | |
unset rvm_path | |
unset rvm_prefix | |
unset rvm_version | |
BASE_DIR=$(dirname $0) | |
BASE_FULL_DIR=$( cd $(dirname $0) ; pwd -P ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install of ruby-1.9.2-p320 - #complete | |
Cloning into 'veewee'... | |
remote: Counting objects: 12679, done. | |
remote: Compressing objects: 100% (4660/4660), done. | |
remote: Total 12679 (delta 8410), reused 11940 (delta 7818) | |
Receiving objects: 100% (12679/12679), 3.76 MiB | 1.48 MiB/s, done. | |
Resolving deltas: 100% (8410/8410), done. | |
****************************************************************************** | |
* NOTICE * | |
****************************************************************************** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
norangshol@stud-1201:/local/home/norangshol/nav-mirror$ ovftool --lax /local/home/norangshol/foo.ovf /local/home/norangshol/bar | |
Opening OVF source: /local/home/norangshol/foo.ovf | |
Opening VMX target: /local/home/norangshol/bar | |
Warning: | |
- The specified operating system identifier 'Debian_64' (id: 96) is not supported on the selected host. It will be mapped to the following OS identifier: 'Other (32-bit)'. | |
- Line 25: Unsupported hardware family 'virtualbox-2.2'. | |
- Line 66: OVF hardware element 'ResourceType' with instance ID '5': No support for the virtual hardware device type '20'. | |
- Line 104: Duplicate element 'AddressOnParent'. | |
Writing VMX file: /local/home/norangshol/bar/foo/foo.vmx | |
Progress: 33% |