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
780
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
760
あなたの知らない データベースのロギングの世界 / logging queries
hfm
10
3.3k
MHAの次 / Next to MHA
hfm
2
2.3k
Dynamic certificate internals with ngx_mruby #nagoyark03
hfm
5
810
動的証明書読み込み ngx_mruby編 #hoscon / GMO HosCon 2016
hfm
10
3.9k
漂流する中の節目 / Career Keynote 2016 at GMO Pepabo
hfm
1
9.8k
Learning Configuration Management Tool / Itamae Meetup 2015
hfm
1
1.5k
Other Decks in Programming
See All in Programming
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
定理証明プラットフォーム lapisla.net
abap34
1
1.8k
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
170
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
150
Immutable ActiveRecord
megane42
0
140
Linux && Docker 研修/Linux && Docker training
forrep
24
4.5k
Multi Step Form, Decentralized Autonomous Organization
pumpkiinbell
1
750
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
250
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
7
670
CDK開発におけるコーディング規約の運用
yamanashi_ren01
2
140
第3回 Snowflake 中部ユーザ会- dbt × Snowflake ハンズオン
hoto17296
4
370
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
220
Featured
See All Featured
Building Applications with DynamoDB
mza
93
6.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
Side Projects
sachag
452
42k
BBQ
matthewcrist
87
9.5k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
A designer walks into a library…
pauljervisheath
205
24k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
100
18k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
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