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
730
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
730
あなたの知らない データベースのロギングの世界 / logging queries
hfm
10
3.3k
MHAの次 / Next to MHA
hfm
2
2.2k
Dynamic certificate internals with ngx_mruby #nagoyark03
hfm
5
790
動的証明書読み込み ngx_mruby編 #hoscon / GMO HosCon 2016
hfm
10
3.8k
漂流する中の節目 / Career Keynote 2016 at GMO Pepabo
hfm
1
9.5k
Learning Configuration Management Tool / Itamae Meetup 2015
hfm
1
1.4k
Other Decks in Programming
See All in Programming
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
240
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
140
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
300
cmp.Or に感動した
otakakot
3
200
Creating a Free Video Ad Network on the Edge
mizoguchicoji
0
120
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
900
みんなでプロポーザルを書いてみた
yuriko1211
0
280
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Building Applications with DynamoDB
mza
90
6.1k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
It's Worth the Effort
3n
183
27k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Docker and Python
trallard
40
3.1k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Testing 201, or: Great Expectations
jmmastey
38
7.1k
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