1-3. OSイメージダウンロード

# Vagrantに入れるOSを落として入れます。 その前に、コマンドプロンプトでインストールの確認と、初期化。
D:\VM>vagrant --version
Vagrant 1.9.1

D:\VM>VirtualBox\VBoxManage.exe --version
5.1.12r112440

D:\VM>vagrant init
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

# OSイメージのダウンロード [VagrantBox.es](http://www.vagrantbox.es/)から、ターゲットのBoxを探します。 > CentOS 7.2 x64 (Minimal, Puppet 4.2.3, Guest Additions 4.3.30) を選択。以下のコマンドでBoxとしてダウンロードします。
D:\VM>vagrant box add centos72 https://github.com/CommanderK5/packer-centos-temp
late/releases/download/0.7.2/vagrant-centos-7.2.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'centos72' (v0) for provider:
    box: Downloading: https://github.com/CommanderK5/packer-centos-template/rele
ases/download/0.7.2/vagrant-centos-7.2.box
    box: Progress: 0% (Rate: 183k/s, Estimated time remaining: 1:33:55)))
これで、"centos72"という名前の"BOX"が用意されます。

[次は、OS実装へ](/2016/12/makejupyter14.html)

このブログの人気の投稿

MS Azure Information Protection を入れたら右クリックの「分類して保護する」がうざい