Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Vagrant勉強会 at ペパボ (2014/2/27)
Okumura Takahiro
March 02, 2014
Programming
0
560
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
360
あなたの知らない データベースのロギングの世界 / logging queries
hfm
10
2.9k
MHAの次 / Next to MHA
hfm
2
1.8k
Dynamic certificate internals with ngx_mruby #nagoyark03
hfm
5
500
動的証明書読み込み ngx_mruby編 #hoscon / GMO HosCon 2016
hfm
10
2.9k
漂流する中の節目 / Career Keynote 2016 at GMO Pepabo
hfm
1
7.3k
Learning Configuration Management Tool / Itamae Meetup 2015
hfm
1
1.3k
Other Decks in Programming
See All in Programming
Micro Frontend Routing – Solutions for mature applications - iJS 04/2022
michaelzikes
0
150
Git Rebase
bkuhlmann
7
1k
Loom is Blooming
josepaumard
3
510
Explore Java 17 and beyond
josepaumard
3
620
JGS594 Lecture 23
javiergs
PRO
0
400
C言語でメモリ管理を考えた話
hkawai
0
180
Untangling Coroutine Testing (Android Makers 2022)
zsmb
0
390
TDX22: User-Mode DB Ops
ca_peterson
3
1.1k
From Java 11 to 17 and beyond
josepaumard
0
290
PublishでWebサイトを構築してみた / generate_website_with_publish
uhooi
2
110
Where and how to run UI tests (Droidcon London, 2021)
nonews
0
200
Managing gRPC with Wire
oldergod
2
150
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
157
12k
How to train your dragon (web standard)
notwaldorf
57
3.8k
Testing 201, or: Great Expectations
jmmastey
21
5.4k
Teambox: Starting and Learning
jrom
121
7.6k
The Art of Programming - Codeland 2020
erikaheidi
31
5.8k
KATA
mclloyd
7
8.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
237
19k
Designing on Purpose - Digital PM Summit 2013
jponch
106
5.6k
What’s in a name? Adding method to the madness
productmarketing
11
1.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
25
1.5k
What's in a price? How to price your products and services
michaelherold
229
9.3k
Learning to Love Humans: Emotional Interface Design
aarron
261
37k
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