$ VBoxManage modifyvm VM_NAME --nictype1 Am79C970A $ VBoxManage modifyvm VM_NAME --nictype2 82540EM これを Vagrantfile に書く。 下記では、Adapter1(NAT)にAm79C970A(AMD PCNet PCI II)を、Adapter2(Host-only Adapter)に82540EM(Intel PRO/1000 MT Desktop)を指定している。 # -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" Vagrant.
はじめに Vagrantfileで良く使う記述をまとめておきます。 環境と前提 ホストマシン:Mac OS X Yosemite 仮想環境ソフトウェア:VirtualBox 4.3.2 vagrant:1.7.2 ホストマシンとゲストマシンの共有フォルダの設定 共有フォルダを使いたい場合は以下のようにconfig.vm.synced_folderを記述します。 # Share an additional folder to the guest VM. The first argument is # the path on the host to the actual folder. The second argument is # the path on the guest to mount the folder. And the optional third # argument is
CentOS7.1でPacemaker+corosyncを使用したクラスタを構成してみた。RHEL/CentOS7におけるPacemaker+corosyncの日本語情報が少ないので、参考情報として記載する。 1. 動作確認環境 [仮想化ホスト環境] Windows7 SP1 Vagrant 1.7.2 Oracle VM VirtualBox 4.3.28 [仮想マシン環境] CentOS 7.1.1503 Pacemaker 1.1.12 corosync 2.3.4 fence-agents-all 4.0.11 httpd 2.4.6 2. 検証環境構成 以下の様な構成で検証を行った。 構成のポイントは以下の通り。 デスクトップPC(Windows7)をVirtualBox+Vagrantにより仮想化ホスト(VHost)として動作させ、仮想マシン(VM)として"centos01"、
VagrantとDockerの理解がどうも曖昧だったので整理するために、それぞれどうゆうものなのかをまとめました Vagrant Vagrantとは、違う環境に移行可能な開発環境を簡単に構築・管理し、配布することができる仮想開発環境構築ソフトウェア。仮想マシンの構築手順を'Vagrantfile'という設定ファイルに記述する。 VagrantのパッケージにはRubyの実行環境が含まれているので、Rubyをインストールしなくても使用可能。 VirtualBoxやVMWareといった仮想環境の上に仮想マシンを構築して利用する。 *1.0.x系はrubygemsでも公開していたが、現行ではパッケージからインストール形式を取っている 公式サイト 主要なコマンド Vagrantfileに記述した設定に従い仮想マシンを起動
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く