This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
технология_vagrant [2022/09/28 16:52] val [Внутри Vagrantfile] |
технология_vagrant [2023/01/02 17:48] val |
||
---|---|---|---|
Line 96: | Line 96: | ||
<code> | <code> | ||
- | λ touch Vagrantfile | + | λ cat Vagrantfile |
</code><code> | </code><code> | ||
... | ... | ||
Line 108: | Line 108: | ||
config.vm.hostname = "node1.corp" + X + ".un" | config.vm.hostname = "node1.corp" + X + ".un" | ||
- | config.vm.network "private_network", ip: "192.168." + X + ".201" | + | config.vm.network "private_network", |
+ | adapter: 2, | ||
+ | name: "VirtualBox Host-Only Ethernet Adapter", | ||
+ | ip: "192.168." + X + ".201" | ||
config.vm.provider "virtualbox" do |vb| | config.vm.provider "virtualbox" do |vb| | ||
vb.memory = "2048" | vb.memory = "2048" |