Sha256: 11854aa7748275ae841d6a4278d419a6d4aefe7210e918fb2809055c5db53424

Contents?: true

Size: 669 Bytes

Versions: 2

Compression:

Stored size: 669 Bytes

Contents

#!/usr/bin/env ruby
#^syntax detection

node :localhost do

  provider    TestLab::Provider::Vagrant

  config      Hash[
    :vagrant => {
      :id       => "mytestlab-#{ENV['USER']}".downcase,
      :ip       => "192.168.33.10",
      :user     => "vagrant",
      :port     => 22,
      :cpus     => 1,
      :memory   => 512
    },
    :repo => File.dirname(__FILE__)
  ]

  network :testnet do
    cidr        "192.168.255.254/16"
    bridge      :br0
  end

  container "server-1" do
    distro        "ubuntu"
    release       "lucid"

    interfaces Hash[
      :testnet => {
        :ip => "192.168.0.254/16",
        :name => :eth0
      }
    ]
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
testlab-0.0.4 spec/support/Labfile
testlab-0.0.3 spec/support/Labfile