9. vagrant up
[root@vagrant01 vagrant]# vagrant up
Bringing machine 'default' up with 'softlayer' provider...
==> default: Creating a new SoftLayer instance...
==> default: Waiting for instance provisioning. This may take a few minutes...
==> default: SoftLayer instance successfully provisioned!
==> default: Waiting for machine to boot. This may take a few minutes...
(中略)
==> default: Machine booted and ready!
[root@vagrant01 vagrant]# vagrant ssh
[root@vagrant03 ~]#
親サーバー
作成中の対象サーバー
10. イメージのID(guid)を指定し、テンプレート・イメージからのサーバー作成も可能
# slcli image list
:......................................:....................................................:....................:............:.........:
: guid : name : type : visibility : account :
:......................................:....................................................:....................:............:.........:
: 719113ed-c060-43f3-8c5c-8889f8b4df01 : 25GB - Ubuntu / Ubuntu / 14.04-64 Minimal for VSI : System : Public : 208938 :
: b14a49a2-648b-4cea-9194-17120e98138f : 25GB - Ubuntu / Ubuntu / 12.04-64 Minimal for VSI : System : Public : 208938 :
: 2402ec54-6dd8-4391-846a-772406fa76cd : 25GB - Redhat / EL / 5.5-64 Minimal for VSI : System : Public : 208938 :
: 56c35934-1caa-408f-9e38-b36e4368e3b7 : 100GB - Ubuntu / Ubuntu / 14.04-32 Minimal for VSI : System : Public : 208938 :
: 0e4b036f-8287-4ff9-ac9b-77883c245e49 : 100GB - Redhat / EL / 5.5-32 Minimal for VSI : System : Public : 208938 :
: f5d6c60f-d6cf-4d0b-a424-5e661e2dea47 : 100GB - Debian / Debian / 8.0.0-64 Minimal for VSI : System : Public : 208938 :
Public=誰でも使えるイメージ
Private=自分が取得したイメージ
slcliで確認
12. [root@vagrant01 vagrant]# vagrant up
Bringing machine 'default' up with 'softlayer' provider...
==> default: Creating a new SoftLayer instance...
==> default: Waiting for instance provisioning. This may take a few minutes...
==> default: SoftLayer instance successfully provisioned!
==> default: Waiting for machine to boot. This may take a few minutes...
(中略)
==> default: Machine booted and ready!
[root@vagrant01 vagrant]# vagrant ssh
Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-65-generic x86_64)
* Documentation: https://help.ubuntu.com/
root@vagrant03:~#
イメージのID(guid)を指定し、テンプレート・イメージからのサーバー作成も可能
16. 参考リンク
VagrantでSoftLayerを操作する
http://niccloud.niandc.ne.jp/?p=749
SoftLayer Tips プロビジョニング・スクリプトとSSH鍵でのログイン
https://ibm.biz/BdH4Yu
Vagrant と Chef による仮想環境構築の自動化(VirtualBox編)
https://www.ogis-ri.co.jp/otc/hiroba/technical/vagrant-chef/chap1.html
初めての Vagrant + Chef zero + Berkshelf
http://qiita.com/tsuyopooon/items/d90679d9f8b5ccfcfde5
Chef Zero Provisioner
https://www.vagrantup.com/docs/provisioning/chef_zero.html
Error: Missing required value for `chef.nodes_path'.
https://github.com/r8/vagrant-lamp/issues/134
ソフトレイヤー活用ガイド コマンドでサーバーをオーダーするには?
https://www.change-makers.jp/post/10352