<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Packer on oinume journal</title>
    <link>https://blog-lampetty-net.web.app/tags/packer/</link>
    <description>Recent content in Packer on oinume journal</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <lastBuildDate>Mon, 29 Jun 2015 06:30:00 +0900</lastBuildDate>
    <atom:link href="https://blog-lampetty-net.web.app/tags/packer/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building Vagrant box from VirtualBox OVF</title>
      <link>https://blog-lampetty-net.web.app/posts/building-vagrant-box-from-virtualbox-ovf/</link>
      <pubDate>Mon, 29 Jun 2015 06:30:00 +0900</pubDate>
      <guid>https://blog-lampetty-net.web.app/posts/building-vagrant-box-from-virtualbox-ovf/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://www.packer.io/docs/builders/virtualbox-ovf.html&#34;&gt;VirtualBox Builder (from an OVF/OVA) - Packer by HashiCorp&lt;/a&gt;&lt;a href=&#34;https://www.packer.io/docs/builders/virtualbox-ovf.html&#34;&gt;www.packer.io&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I realized that Packer can build Vagrant box from VirtualBox OVF file not only from ISO image. Building Vagrant box takes much time to run an installer so I&#39;m very happy to skip the step.&lt;/p&gt;&#xA;&lt;p&gt;I created Ansible installed Vagrant box from another box to try.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Run &#39;vagrant box add oinume/ubuntu-14.04-jp&#39;&lt;/li&gt;&#xA;&lt;li&gt;Downloaded box is stored in ~/.vagrant.d/boxes/oinume-VAGRANTSLASH-ubuntu-14.04-jp/1.0.1/virtualbox and box.ovf is in the directory.&lt;/li&gt;&#xA;&lt;li&gt;Specify the path of .ovf like below in template.json and run &#39;packer build template.json&#39;&lt;/li&gt;&#xA;&lt;li&gt;&#39;ubuntu-14-04-x64-jp-ansible-virtualbox.box&#39; created.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.amazon.co.jp/exec/obidos/ASIN/B00WVH5SY8/kazzhomeunixo-22/&#34;&gt;&lt;img src=&#34;http://ecx.images-amazon.com/images/I/51piyNH5ppL._SL160_.jpg&#34; alt=&#34;Ansible: Up and Running&#34; loading=&#34;lazy&#34; title=&#34;Ansible: Up and Running&#34;&gt;&#xA;&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>PackerでJapanizedなUbuntu 14.04のVagrant Boxを作ってみた</title>
      <link>https://blog-lampetty-net.web.app/posts/japanized-ubuntu-14.04-vagrant-box-by-packer/</link>
      <pubDate>Sun, 08 Jun 2014 23:23:04 +0900</pubDate>
      <guid>https://blog-lampetty-net.web.app/posts/japanized-ubuntu-14.04-vagrant-box-by-packer/</guid>
      <description>&lt;p&gt;TimeZoneがAsia/Tokyoで、aptのミラーがjp.archive.ubuntu.comなVagrant Boxを作ってみた。&lt;a href=&#34;https://github.com/shiguredo/packer-templates&#34;&gt;時雨堂のpacker-templates&lt;/a&gt;をforkして &lt;a href=&#34;https://github.com/oinume/packer-templates/tree/develop/ubuntu-14.04-jp&#34;&gt;ubuntu-14.04-jp&lt;/a&gt; っていうディレクトリを新しく追加してる。インストール方法は&lt;a href=&#34;https://github.com/oinume/packer-templates#running-packer&#34;&gt;README.rst&lt;/a&gt;に書いてある通り。イメージ作るのって面倒なイメージがあったんだけど(ダジャレ感)、Packerと先人の秘伝のタレを使えば良いということがわかったので恐怖心がなくなった。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
