Skip to content

Instantly share code, notes, and snippets.

View williamsjj's full-sized avatar

Jason J. W. Williams williamsjj

View GitHub Profile
[Connected to zone 'wpm' console]
[NOTICE: Zone booting up]
SunOS Release 5.11 Version oi_151a 64-bit
Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved.
A ZFS file system has been created for this zone.
Publisher: Using openindiana.org (http://pkg.openindiana.org/dev/ ).
Publisher: Using sfe (http://pkg.openindiana.org/sfe/).
Image: Preparing at /zoneroot/testzone/root.
Cache: Using /var/pkg/download.
Sanity Check: Looking for 'entire' incorporation.
Installing: Core System (output follows)
Packages to install: 1
Create boot environment: No
DOWNLOAD PKGS FILES XFER (MB)
CONFIG proxy.config.log.logging_enabled INT 3
CONFIG proxy.config.log.max_secs_per_buffer INT 5
CONFIG proxy.config.log.max_space_mb_for_logs INT 5000
CONFIG proxy.config.log.max_space_mb_for_orphan_logs INT 25
CONFIG proxy.config.log.max_space_mb_headroom INT 3000
CONFIG proxy.config.log.hostname STRING localhost
CONFIG proxy.config.log.logfile_dir STRING /var/log/trafficserver
CONFIG proxy.config.log.logfile_perm STRING rw-r--r--
CONFIG proxy.config.log.custom_logs_enabled INT 1
CONFIG proxy.config.log.squid_log_enabled INT 1
Boolean CFHTTPMessageAddAuthentication(CFHTTPMessageRef request, CFHTTPMessageRef authenticationFailureResponse, CFStringRef username, CFStringRef password, CFStringRef scheme, Boolean forProxy) {
Boolean result = FALSE;
CFHTTPAuthenticationRef auth = NULL;
if (authenticationFailureResponse)
auth = CFHTTPAuthenticationCreateFromResponse(CFGetAllocator(authenticationFailureResponse), authenticationFailureResponse);
// Even though no one else could be using this auth, GetProperty needs us to be locked
if (auth)
==> virtualbox: Uploading VirtualBox guest additions ISO...
2013/10/28 16:04:18 ui: ==> virtualbox: Uploading VirtualBox guest additions ISO...
2013/10/28 16:04:18 /usr/local/bin/packer-builder-virtualbox: 2013/10/28 16:04:18 opening new ssh session
2013/10/28 16:04:18 /usr/local/bin/packer-builder-virtualbox: 2013/10/28 16:04:18 Starting remote scp process: scp -vt /tmp
2013/10/28 16:04:18 /usr/local/bin/packer-builder-virtualbox: 2013/10/28 16:04:18 Started SCP session, beginning transfers...
2013/10/28 16:04:18 /usr/local/bin/packer-builder-virtualbox: 2013/10/28 16:04:18 Copying input data into in-memory buffer so we can get the length
2013/10/28 16:04:19 /usr/local/bin/packer-builder-virtualbox: 2013/10/28 16:04:19 Beginning file upload...
2013/10/28 16:04:27 /usr/local/bin/packer-builder-virtualbox: 2013/10/28 16:04:27 SCP session complete, closing stdin pipe.
2013/10/28 16:04:27 /usr/local/bin/packer-builder-virtualbox: 2013/10/28 16:04:27 Waiting for SSH session to complete.
2013/10/28 16:04:27 /usr/
{
"provisioners": [
{
"type": "shell",
"scripts" : [
"scripts/vbox.sh"
],
"override": {
"virtualbox": {
"execute_command": "echo 'vagrant'|sudo -S sh '{{.Path}}'"
@williamsjj
williamsjj / vbox.sh
Last active December 26, 2015 19:29
mount -o loop /tmp/VBoxGuestAdditions.iso /media
echo yes|sh /media/VBoxLinuxAdditions.run
umount /media
$ ls
-rw-r--r-- 1 root root 229999049 2013-08-02 22:33 CompleteDB20130802.csv
-rw-r--r-- 1 root root 230067705 2013-09-01 04:09 CompleteDB20130831.csv
-rw-r--r-- 1 root root 230067705 2013-09-01 22:52 CompleteDB20130901.csv
-rw-r--r-- 1 root root 230076525 2013-09-09 04:41 CompleteDB20130908.csv
-rw-r--r-- 1 root root 230079786 2013-09-12 22:54 CompleteDB20130912.csv
-rw-r--r-- 1 root root 230115386 2013-10-01 04:09 CompleteDB20130930.csv
-rw-r--r-- 1 root root 229365388 2013-04-26 04:29 CompleteDB.csv
-rw-r--r-- 1 root root 10507 2013-04-30 06:01 dailyUpdatesplus20130426.csv
merb : chef-server-webui : worker (port 4040) ~ Params: {"cookbook_id"=>"cookbookabc", "cb_version"=>"0.5.1", "action"=>"show", "controller"=>"cookbooks"}
merb : chef-server-webui : worker (port 4040) ~
merb : chef-server-webui : worker (port 4040) ~ Started request handling: Mon Feb 11 22:40:07 +0000 2013
merb : chef-server-webui : worker (port 4040) ~ Routed to: {"cookbook_id"=>"cookbookabc", "cb_version"=>"0.5.1", "action"=>"show", "controller"=>"cookbooks"}
merb : chef-server-webui : worker (port 4040) ~ Params: {"cookbook_id"=>"cookbookabc", "cb_version"=>"0.5.1", "action"=>"show", "controller"=>"cookbooks"}
merb : chef-server-webui : worker (port 4040) ~
***ERROR in ruby.rb:123:in `scan_tokens': else-case " reached; "\3323" not handled, state = #<struct CodeRay::Scanners::Ruby::Patterns::StringState type=:string, interpreted=true, delim="\332\363", heredoc=false, paren=nil, paren_depth=nil, pattern=/ (?= [??\\] | \# [{$@] ) /mx, next_state=:initial> (after 13339 tokens)
merb : chef-server-webui : worker (port 4040) ~ Started request handling: Thu Feb 23 19:20:51 +0000 2012
merb : chef-server-webui : worker (port 4040) ~ Routed to: {"action"=>"index", "controller"=>"nodes"}
merb : chef-server-webui : worker (port 4040) ~ Params: {"action"=>"index", "controller"=>"nodes"}
merb : chef-server-webui : worker (port 4040) ~ 401 "Unauthorized" - (Net::HTTPServerException)
/usr/lib/ruby/1.8/net/http.rb:2101:in `error!'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:245:in `api_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:296:in `retriable_rest_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:226:in `api_request'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:114:in `get_rest'
/usr/lib/ruby/vendor_ruby/chef/environment.rb:271:in `list'