Skip to content

Commit

Permalink
Added ubuntu-12.10 definitions.
Browse files Browse the repository at this point in the history
This was a copy from the ubuntu-12.04 definitions basically wholesale.
  • Loading branch information
John Bellone committed Apr 25, 2013
1 parent 03cbcd0 commit 18ad825
Show file tree
Hide file tree
Showing 18 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10-i386/chef-client.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10-i386/cleanup.sh
11 changes: 11 additions & 0 deletions definitions/ubuntu-12.10-i386/definition.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require File.dirname(__FILE__) + "/../.ubuntu/session.rb"

iso = "ubuntu-12.10-server-i386.iso"

session =
UBUNTU_SESSION.merge( :os_type_id => 'Ubuntu',
:iso_file => iso,
:iso_md5 => "b3d4d4edfc8f291af0b83f8a2ba19a2f",
:iso_src => "http://releases.ubuntu.com/12.10/#{iso}" )

Veewee::Session.declare session
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10-i386/minimize.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10-i386/networking.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10-i386/preseed.cfg
4 changes: 4 additions & 0 deletions definitions/ubuntu-12.10-i386/sudoers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -eux

sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers
sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10-i386/update.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10-i386/vagrant.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10/chef-client.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10/cleanup.sh
11 changes: 11 additions & 0 deletions definitions/ubuntu-12.10/definition.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
require File.dirname(__FILE__) + "/../.ubuntu/session.rb"

iso = "ubuntu-12.10-server-amd64.iso"

session =
UBUNTU_SESSION.merge( :os_type_id => 'Ubuntu',
:iso_file => iso,
:iso_md5 => "4bd3270bde86d7e4e017e3847a4af485",
:iso_src => "http://releases.ubuntu.com/12.10/#{iso}" )

Veewee::Session.declare session
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10/minimize.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10/networking.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10/preseed.cfg
4 changes: 4 additions & 0 deletions definitions/ubuntu-12.10/sudoers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash -eux

sed -i -e '/Defaults\s\+env_reset/a Defaults\texempt_group=sudo' /etc/sudoers
sed -i -e 's/%sudo ALL=(ALL:ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10/update.sh
1 change: 1 addition & 0 deletions definitions/ubuntu-12.10/vagrant.sh

0 comments on commit 18ad825

Please sign in to comment.