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
850
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
820
あなたの知らない データベースのロギングの世界 / logging queries
hfm
10
3.4k
MHAの次 / Next to MHA
hfm
2
2.4k
Dynamic certificate internals with ngx_mruby #nagoyark03
hfm
5
860
動的証明書読み込み ngx_mruby編 #hoscon / GMO HosCon 2016
hfm
10
4.1k
漂流する中の節目 / Career Keynote 2016 at GMO Pepabo
hfm
1
10k
Learning Configuration Management Tool / Itamae Meetup 2015
hfm
1
1.5k
Other Decks in Programming
See All in Programming
ソフトウェア設計の実践的な考え方
masuda220
PRO
4
590
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
160
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
530
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
1
350
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
160
CSC509 Lecture 06
javiergs
PRO
0
260
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
220
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
0
1.3k
Software Architecture
hschwentner
6
2.3k
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
340
CSC305 Lecture 08
javiergs
PRO
0
200
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
170
Featured
See All Featured
Making Projects Easy
brettharned
120
6.4k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Context Engineering - Making Every Token Count
addyosmani
6
250
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
How STYLIGHT went responsive
nonsquared
100
5.8k
Faster Mobile Websites
deanohume
310
31k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
35
6.1k
Optimizing for Happiness
mojombo
379
70k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Thoughts on Productivity
jonyablonski
70
4.9k
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