Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vagrant勉強会 at ペパボ (2014/2/27)
Search
Okumura Takahiro
March 02, 2014
Programming
0
750
Vagrant勉強会 at ペパボ (2014/2/27)
2014/2/27にペパボで開催されたVagrant勉強会の資料です。
なぜかPackerで箱作った話をしています。
Okumura Takahiro
March 02, 2014
Tweet
Share
More Decks by Okumura Takahiro
See All by Okumura Takahiro
Cookpad Lounge #4 SRE 座談会 SLI/SLO
hfm
0
740
あなたの知らない データベースのロギングの世界 / logging queries
hfm
10
3.3k
MHAの次 / Next to MHA
hfm
2
2.2k
Dynamic certificate internals with ngx_mruby #nagoyark03
hfm
5
800
動的証明書読み込み ngx_mruby編 #hoscon / GMO HosCon 2016
hfm
10
3.9k
漂流する中の節目 / Career Keynote 2016 at GMO Pepabo
hfm
1
9.6k
Learning Configuration Management Tool / Itamae Meetup 2015
hfm
1
1.4k
Other Decks in Programming
See All in Programming
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
2
100
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
0
130
Security_for_introducing_eBPF
kentatada
0
110
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
nekko cloudにおけるProxmox VE利用事例
irumaru
3
430
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
820
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
140
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
340
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
3
290
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
340
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
Git: the NoSQL Database
bkeepers
PRO
427
64k
A Tale of Four Properties
chriscoyier
157
23k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
32
2.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Faster Mobile Websites
deanohume
305
30k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Transcript
7BHSBOUษ ڧ ձ !IGN 0LVNVSB5BLBIJSP
.Z42- "MM4UBSWCPY
.Z42- !
$FOU04
J Y@
NZTRMCVJME IUUQTHJUIVCDPNLBNJQPNZTRMCVJME
QBDLFECZ QBDLFS
IUUQTHJUIVCDPNUBDBIJMPNZTRMBMMTUBS
WBHSBOUVQ .Z42-0,
5IBOLTBMPU
one more thing
USPVCMFTIPPU GPSQBDLFS
dWBHSBOUE
Vagrant.configure("2") do |config|! config.vm.define "centos5-i386" do |c|! c.vm.box = "CentOS5.10-i386"!
c.vm.box_url = “./builds/centos5.10-i386.box"! end! end
Vagrant.configure("2") do |config|! config.vm.define "centos5-i386" do |c|! c.vm.box = "CentOS5.10-i386"!
c.vm.box_url = “./builds/centos5.10-i386.box"! end! end
$ ls -oh $HOME/.vagrant.d/boxes total 0 drwxrwxr-x 2 hfm 68B
2 22 22:08 CentOS5.10-i386
Vagrant.configure("2") do |config|! config.vm.define "centos5-i386" do |c|! c.vm.box = "CentOS5.10-i386"!
c.vm.box_url = “./builds/centos5.10-i386.box"! end! end
Vagrant.configure("2") do |config|! config.vm.define "centos5-i386" do |c|! c.vm.box = "CentOS5.10-i386"!
c.vm.box_url = “./builds/centos5.10-i386.box"! end! end JUVTFT/05CPY@VSM #65dWBHSBOUE$FOU04J
$ vagrant box list CentOS5.10-i386 (virtualbox)
$ vagrant box list CentOS5.10-i386 (virtualbox) $ vagrant box remove
CentOS5.10-i386 Removing box 'CentOS5.10-i386' ...
$ vagrant box list CentOS5.10-i386 (virtualbox) $ vagrant box remove
CentOS5.10-i386 Removing box 'CentOS5.10-i386' ... $ vagrant up CentOS5.10-i386 Bringing machine 'CentOS5.10-i386' up ...
$ vagrant box list CentOS5.10-i386 (virtualbox) $ vagrant box remove
CentOS5.10-i386 Removing box 'CentOS5.10-i386' ... $ vagrant up CentOS5.10-i386 Bringing machine 'CentOS5.10-i386' up ... $ vagrant box list \ | awk '{print $1}' \ | xargs -I% vagrant box remove %
LJDLTUBSUDGH
--- http/ks-centos-5.10.cfg +++ http/ks-centos-6.5.cfg @@ -14,7 +14,7 @@ skipx zerombr
-clearpart --all --initlabel +clearpart --all autopart auth --useshadow --enablemd5
--- http/ks-centos-5.10.cfg +++ http/ks-centos-6.5.cfg @@ -35,6 +35,7 @@ %packages @Core
@Base +%end %post # update certs
--- http/ks-centos-5.10.cfg +++ http/ks-centos-6.5.cfg @@ -44,5 +45,6 @@ useradd vagrant
-g vagrant -G wheel -u 1001 echo "vagrant" | passwd --stdin vagrant # sudo -echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> / etc/sudoers +echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> / etc/sudoers.d/vagrant sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers +%end
5IBOLTBMPU