Sha256: c8fb33714b091539c120de6d97922b7e33760ddc3683278d42495adfb539bed9

Contents?: true

Size: 669 Bytes

Versions: 3

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
    ip          "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

3 entries across 3 versions & 1 rubygems

Version Path
testlab-0.2.1 spec/support/Labfile
testlab-0.2.0 spec/support/Labfile
testlab-0.1.0 spec/support/Labfile