LoginSignup
0
1

More than 5 years have passed since last update.

vagrantで新しいボックスに新しいipを割り当てる

Posted at

開発環境もう一つOSから作りたいなという場面で
virtual box とvagrantの設定ができている状況が前提です。

vagrantfileの以下の部分を編集します。

config.vm.network "private_network", ip: "192.168.33.13"

上記のようにIPを設定していただければ
設定されたものに割り当てることができ
仮想サーバを複数台同時に立ち上げたりできます。

自分のwindows10の環境では
centosの新規環境を作って(ソフトなんかも入れていくと)大体10GBくらいの容量が必要でしたが
この辺りはそれぞれ違うと思うので概算参考値ということで。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1