Skip to content

Instantly share code, notes, and snippets.

Dan Tehranian tehranian

Block or report user

Report or block tehranian

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tehranian
tehranian / gist:ded47b74024a77bc3252
Created Dec 22, 2015
Vagrant 1.8.0 w/VMware: "error code: '7'"
View gist:ded47b74024a77bc3252
$ v up --debug
INFO global: Vagrant version: 1.8.0
INFO global: Ruby version: 2.2.3
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_DEFAULT_PROVIDER="vmware_fusion"
INFO global: VAGRANT_OLD_ENV_TMPDIR="/var/folders/n7/f_wgynqj7v32_krjxgy_65yw0000gn/T/"
INFO global: VAGRANT_OLD_ENV_PWD="/Users/dtehranian/Downloads/boxes/trusty-docker"
INFO global: VAGRANT_OLD_ENV_XPC_FLAGS="0x0"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM="iTerm.app"
@tehranian
tehranian / gist:0371fc6f91cfea704575
Created Jul 9, 2014
packer - Cloning is not supported with Player 5. Please use Player 6+.
View gist:0371fc6f91cfea704575
00:00:56.668 + packer build vcsa-55-vcenter.json
00:00:56.673 2014/07/09 16:44:24 Packer Version: 0.6.0 12e28f257f66299e3bb13a053bf06ccd236e7efd
00:00:56.673 2014/07/09 16:44:24 Packer Target OS/Arch: linux amd64
00:00:56.673 2014/07/09 16:44:24 Built with Go Version: go1.2
00:00:56.674 2014/07/09 16:44:24 Detected home directory from env var: /var/lib/jenkins
00:00:56.674 2014/07/09 16:44:24 Attempting to open config file: /var/lib/jenkins/.packerconfig
00:00:56.674 2014/07/09 16:44:24 Packer config: &{PluginMinPort:0 PluginMaxPort:0 Builders:map[amazon-instance:packer-builder-amazon-instance googlecompute:packer-builder-googlecompute vmware-iso:packer-builder-vmware-iso digitalocean:packer-builder-digitalocean virtualbox-ovf:packer-builder-virtualbox-ovf parallels-iso:packer-builder-parallels-iso null:packer-builder-null amazon-ebs:packer-builder-amazon-ebs amazon-chroot:packer-builder-amazon-chroot openstack:packer-builder-openstack qemu:packer-builder-qemu vmware-vmx:packer-builder-vmware-vmx docker:pack
@tehranian
tehranian / gist:7123269
Created Oct 23, 2013
Jenkins SSH slave launcher for 10x faster data transfer rates when archiving/copying artifacts. Leverages the learnings from: http://www.damtp.cam.ac.uk/user/ejb48/sshspeedtests.html
View gist:7123269
#!/bin/bash
# High-performance, native SSH implementation for Jenkins SSH slaves. Jenkins'
# standard turn-key SSH slave implementation uses an embedded, "pure Java"
# implementation of SSH (https://github.com/jenkinsci/trilead-ssh2).
# That standard implementation combines all of the convenience of a pure Java
# implementation with all of the "performance" of a pure Java implementation :P
# If your distributed build process generates large build artifacts like ISOs,
# VM images, Vagrant boxes, etc, then you will see a substantial benefit from
You can’t perform that action at this time.