Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
packer-testing % make old-image
packer build \
-var "triton_account=stack72_joyent" \
-var "triton_key_id=40:9d:d3:f9:0b:86:62:48:f4:2e:a5:8e:43:00:2a:9b" \
-var "triton_key_material=""" \
-var "image_version=1.0.0" \
-var "source_image="7b5981c4-1889-11e7-b4c5-3f3bdfc9b88b"" \
template.json
triton output will be in this color.
==> triton: Creating source machine...
==> triton: Waiting for source machine to become available...
==> triton: Waiting for SSH to become available...
==> triton: Connected to SSH!
==> triton: Provisioning with shell script: /var/folders/_p/2_zj9lqn4n11fx20qy787p7c0000gn/T/packer-shell387428679
triton: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
triton: Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
triton: Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
triton: Get:4 http://security.ubuntu.com/ubuntu xenial-security/main Sources [99.1 kB]
triton: Get:5 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [43.9 kB]
triton: Get:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [381 kB]
triton: Get:7 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [168 kB]
triton: Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [177 kB]
triton: Get:9 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [94.0 kB]
triton: Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [279 kB]
triton: Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [177 kB]
triton: Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [649 kB]
triton: Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [271 kB]
triton: Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [542 kB]
triton: Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [220 kB]
triton: Fetched 3,306 kB in 14s (235 kB/s)
triton: Reading package lists...
triton: Reading package lists...
triton: Building dependency tree...
triton: Reading state information...
triton: The following additional packages will be installed:
triton: fontconfig-config fonts-dejavu-core geoip-database libfontconfig1
triton: libfreetype6 libgd3 libgeoip1 libicu55 libjbig0 libjpeg-turbo8 libjpeg8
triton: libtiff5 libvpx3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2
triton: libxpm4 libxslt1.1 nginx-common nginx-core sgml-base xml-core
triton: Suggested packages:
triton: libgd-tools geoip-bin fcgiwrap nginx-doc ssl-cert sgml-base-doc debhelper
triton: The following NEW packages will be installed:
triton: fontconfig-config fonts-dejavu-core geoip-database libfontconfig1
triton: libfreetype6 libgd3 libgeoip1 libicu55 libjbig0 libjpeg-turbo8 libjpeg8
triton: libtiff5 libvpx3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2
triton: libxpm4 libxslt1.1 nginx nginx-common nginx-core sgml-base xml-core
triton: 0 upgraded, 26 newly installed, 0 to remove and 82 not upgraded.
triton: Need to get 14.2 MB of archives.
triton: After this operation, 53.0 MB of additional disk space will be used.
triton: Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxau6 amd64 1:1.0.8-1 [8,376 B]
triton: Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 sgml-base all 1.26+nmu4ubuntu1 [12.5 kB]
triton: Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3 [111 kB]
triton: Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjbig0 amd64 2.1-3.1 [26.6 kB]
triton: Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 geoip-database all 20160408-1 [1,678 kB]
triton: Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libgeoip1 amd64 1.6.9-1 [70.1 kB]
triton: Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libicu55 amd64 55.1-7ubuntu0.3 [7,658 kB]
triton: Get:8 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxdmcp6 amd64 1:1.1.2-1.1 [11.0 kB]
triton: Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libxcb1 amd64 1.11.1-1ubuntu1 [40.0 kB]
triton: Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 libx11-data all 2:1.6.3-1ubuntu2 [113 kB]
triton: Get:11 http://archive.ubuntu.com/ubuntu xenial/main amd64 libx11-6 amd64 2:1.6.3-1ubuntu2 [571 kB]
triton: Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxml2 amd64 2.9.3+dfsg1-1ubuntu0.3 [697 kB]
triton: Get:13 http://archive.ubuntu.com/ubuntu xenial/main amd64 xml-core all 0.13+nmu2 [23.3 kB]
triton: Get:14 http://archive.ubuntu.com/ubuntu xenial/main amd64 fonts-dejavu-core all 2.35-1 [1,039 kB]
triton: Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 fontconfig-config all 2.11.94-0ubuntu1.1 [49.9 kB]
triton: Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfreetype6 amd64 2.6.1-0.1ubuntu2.3 [316 kB]
triton: Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu1.1 [131 kB]
triton: Get:18 http://archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2,194 B]
triton: Get:19 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5 amd64 4.0.6-1ubuntu0.2 [146 kB]
triton: Get:20 http://archive.ubuntu.com/ubuntu xenial/main amd64 libvpx3 amd64 1.5.0-2ubuntu1 [732 kB]
triton: Get:21 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxpm4 amd64 1:3.5.11-1ubuntu0.16.04.1 [33.8 kB]
triton: Get:22 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgd3 amd64 2.1.1-4ubuntu0.16.04.8 [126 kB]
triton: Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxslt1.1 amd64 1.1.28-2.1ubuntu0.1 [145 kB]
triton: Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-common all 1.10.3-0ubuntu0.16.04.2 [26.6 kB]
triton: Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-core amd64 1.10.3-0ubuntu0.16.04.2 [428 kB]
triton: Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx all 1.10.3-0ubuntu0.16.04.2 [3,490 B]
triton: debconf: unable to initialize frontend: Dialog
triton: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
triton: debconf: falling back to frontend: Readline
triton: debconf: unable to initialize frontend: Readline
triton: debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 26.)
triton: debconf: falling back to frontend: Teletype
triton: dpkg-preconfigure: unable to re-open stdin:
triton: Fetched 14.2 MB in 2s (5,012 kB/s)
triton: Selecting previously unselected package libxau6:amd64.
triton: (Reading database ... 14282 files and directories currently installed.)
triton: Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...
triton: Unpacking libxau6:amd64 (1:1.0.8-1) ...
triton: Selecting previously unselected package sgml-base.
triton: Preparing to unpack .../sgml-base_1.26+nmu4ubuntu1_all.deb ...
triton: Unpacking sgml-base (1.26+nmu4ubuntu1) ...
triton: Selecting previously unselected package libjpeg-turbo8:amd64.
triton: Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3_amd64.deb ...
triton: Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ...
triton: Selecting previously unselected package libjbig0:amd64.
triton: Preparing to unpack .../libjbig0_2.1-3.1_amd64.deb ...
triton: Unpacking libjbig0:amd64 (2.1-3.1) ...
triton: Selecting previously unselected package geoip-database.
triton: Preparing to unpack .../geoip-database_20160408-1_all.deb ...
triton: Unpacking geoip-database (20160408-1) ...
triton: Selecting previously unselected package libgeoip1:amd64.
triton: Preparing to unpack .../libgeoip1_1.6.9-1_amd64.deb ...
triton: Unpacking libgeoip1:amd64 (1.6.9-1) ...
triton: Selecting previously unselected package libicu55:amd64.
triton: Preparing to unpack .../libicu55_55.1-7ubuntu0.3_amd64.deb ...
triton: Unpacking libicu55:amd64 (55.1-7ubuntu0.3) ...
triton: Selecting previously unselected package libxdmcp6:amd64.
triton: Preparing to unpack .../libxdmcp6_1%3a1.1.2-1.1_amd64.deb ...
triton: Unpacking libxdmcp6:amd64 (1:1.1.2-1.1) ...
triton: Selecting previously unselected package libxcb1:amd64.
triton: Preparing to unpack .../libxcb1_1.11.1-1ubuntu1_amd64.deb ...
triton: Unpacking libxcb1:amd64 (1.11.1-1ubuntu1) ...
triton: Selecting previously unselected package libx11-data.
triton: Preparing to unpack .../libx11-data_2%3a1.6.3-1ubuntu2_all.deb ...
triton: Unpacking libx11-data (2:1.6.3-1ubuntu2) ...
triton: Selecting previously unselected package libx11-6:amd64.
triton: Preparing to unpack .../libx11-6_2%3a1.6.3-1ubuntu2_amd64.deb ...
triton: Unpacking libx11-6:amd64 (2:1.6.3-1ubuntu2) ...
triton: Selecting previously unselected package libxml2:amd64.
triton: Preparing to unpack .../libxml2_2.9.3+dfsg1-1ubuntu0.3_amd64.deb ...
triton: Unpacking libxml2:amd64 (2.9.3+dfsg1-1ubuntu0.3) ...
triton: Selecting previously unselected package xml-core.
triton: Preparing to unpack .../xml-core_0.13+nmu2_all.deb ...
triton: Unpacking xml-core (0.13+nmu2) ...
triton: Selecting previously unselected package fonts-dejavu-core.
triton: Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...
triton: Unpacking fonts-dejavu-core (2.35-1) ...
triton: Selecting previously unselected package fontconfig-config.
triton: Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ...
triton: Unpacking fontconfig-config (2.11.94-0ubuntu1.1) ...
triton: Selecting previously unselected package libfreetype6:amd64.
triton: Preparing to unpack .../libfreetype6_2.6.1-0.1ubuntu2.3_amd64.deb ...
triton: Unpacking libfreetype6:amd64 (2.6.1-0.1ubuntu2.3) ...
triton: Selecting previously unselected package libfontconfig1:amd64.
triton: Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ...
triton: Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
triton: Selecting previously unselected package libjpeg8:amd64.
triton: Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
triton: Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
triton: Selecting previously unselected package libtiff5:amd64.
triton: Preparing to unpack .../libtiff5_4.0.6-1ubuntu0.2_amd64.deb ...
triton: Unpacking libtiff5:amd64 (4.0.6-1ubuntu0.2) ...
triton: Selecting previously unselected package libvpx3:amd64.
triton: Preparing to unpack .../libvpx3_1.5.0-2ubuntu1_amd64.deb ...
triton: Unpacking libvpx3:amd64 (1.5.0-2ubuntu1) ...
triton: Selecting previously unselected package libxpm4:amd64.
triton: Preparing to unpack .../libxpm4_1%3a3.5.11-1ubuntu0.16.04.1_amd64.deb ...
triton: Unpacking libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
triton: Selecting previously unselected package libgd3:amd64.
triton: Preparing to unpack .../libgd3_2.1.1-4ubuntu0.16.04.8_amd64.deb ...
triton: Unpacking libgd3:amd64 (2.1.1-4ubuntu0.16.04.8) ...
triton: Selecting previously unselected package libxslt1.1:amd64.
triton: Preparing to unpack .../libxslt1.1_1.1.28-2.1ubuntu0.1_amd64.deb ...
triton: Unpacking libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
triton: Selecting previously unselected package nginx-common.
triton: Preparing to unpack .../nginx-common_1.10.3-0ubuntu0.16.04.2_all.deb ...
triton: Unpacking nginx-common (1.10.3-0ubuntu0.16.04.2) ...
triton: Selecting previously unselected package nginx-core.
triton: Preparing to unpack .../nginx-core_1.10.3-0ubuntu0.16.04.2_amd64.deb ...
triton: Unpacking nginx-core (1.10.3-0ubuntu0.16.04.2) ...
triton: Selecting previously unselected package nginx.
triton: Preparing to unpack .../nginx_1.10.3-0ubuntu0.16.04.2_all.deb ...
triton: Unpacking nginx (1.10.3-0ubuntu0.16.04.2) ...
triton: Processing triggers for man-db (2.7.5-1) ...
triton: Processing triggers for libc-bin (2.23-0ubuntu7) ...
triton: Processing triggers for ureadahead (0.100.0-19) ...
triton: Processing triggers for systemd (229-4ubuntu16) ...
triton: Setting up libxau6:amd64 (1:1.0.8-1) ...
triton: Setting up sgml-base (1.26+nmu4ubuntu1) ...
triton: Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3) ...
triton: Setting up libjbig0:amd64 (2.1-3.1) ...
triton: Setting up geoip-database (20160408-1) ...
triton: Setting up libgeoip1:amd64 (1.6.9-1) ...
triton: Setting up libicu55:amd64 (55.1-7ubuntu0.3) ...
triton: Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ...
triton: Setting up libxcb1:amd64 (1.11.1-1ubuntu1) ...
triton: Setting up libx11-data (2:1.6.3-1ubuntu2) ...
triton: Setting up libx11-6:amd64 (2:1.6.3-1ubuntu2) ...
triton: Setting up libxml2:amd64 (2.9.3+dfsg1-1ubuntu0.3) ...
triton: Setting up xml-core (0.13+nmu2) ...
triton: Setting up fonts-dejavu-core (2.35-1) ...
triton: Setting up fontconfig-config (2.11.94-0ubuntu1.1) ...
triton: Setting up libfreetype6:amd64 (2.6.1-0.1ubuntu2.3) ...
triton: Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
triton: Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
triton: Setting up libtiff5:amd64 (4.0.6-1ubuntu0.2) ...
triton: Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
triton: Setting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
triton: Setting up libgd3:amd64 (2.1.1-4ubuntu0.16.04.8) ...
triton: Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.1) ...
triton: Setting up nginx-common (1.10.3-0ubuntu0.16.04.2) ...
triton: debconf: unable to initialize frontend: Dialog
triton: debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
triton: debconf: falling back to frontend: Readline
triton: debconf: unable to initialize frontend: Readline
triton: debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
triton: debconf: falling back to frontend: Teletype
triton: Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ...
triton: Setting up nginx (1.10.3-0ubuntu0.16.04.2) ...
triton: Processing triggers for libc-bin (2.23-0ubuntu7) ...
triton: Processing triggers for sgml-base (1.26+nmu4ubuntu1) ...
triton: Processing triggers for systemd (229-4ubuntu16) ...
triton: Processing triggers for ureadahead (0.100.0-19) ...
==> triton: Stopping source machine (f925fe64-3b38-6a43-cbbf-e454f2de62ab)...
==> triton: Waiting for source machine to stop (f925fe64-3b38-6a43-cbbf-e454f2de62ab)...
==> triton: Creating image from source machine...
==> triton: Waiting for image to become available...
==> triton: Deleting source machine...
==> triton: Waiting for source machine to be deleted...
Build 'triton' finished.
==> Builds finished. The artifacts of successful builds are:
--> triton: Image was created: 5959ef27-936d-4d90-8477-e56995087d8d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.