kameleon-builder 2.2.4 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 713bfaf539e81472b72965b0c4d4639543b1d616
4
+ data.tar.gz: 425144e158dddbf29447ac5f082e546c2f2a304e
5
+ SHA512:
6
+ metadata.gz: da5f852444818504e73b889c62683696b9bf7c8a077109a80bc881dbd26848c602b693b834e7d26220cd6aa50a4660d4d4dc1ed65fd1184c23bf3c0f71eb5c57
7
+ data.tar.gz: 8d56cfb832300b771fd43832f46655c4e8504db47b9f1b1f7e5260ac244249d16f4e1077d7a30aec78090de70486a206e1a525f41d20f787208ea50e7f0e649a
@@ -1,8 +1,29 @@
1
1
  Kameleon CHANGELOG
2
2
  ==================
3
3
 
4
+
5
+ version 2.2.5
6
+ -------------
7
+
8
+ Released on Sep 19th 2014
9
+
10
+ - [template] Customized vm memory size before vagrant export
11
+ - [template] Configured virtualbox to use ``82540EM`` driver for ethX interfaces
12
+ - [template][debian] installed man-db and net-tools with debootstrap
13
+ - [template][centos] Removed traces of mac address from network configuration
14
+ - [template][centos] installed man package
15
+ - [template][centos] Set OS type to ``Redhat_64`` in virtualbox
16
+ - [template][debian] Added security and backports repository
17
+ - [template][debian] Added debian security and backports repositories
18
+ - [template][debian] Removed ntp from all debian recipes
19
+ - [template][centos] Added ``single-request-reopen`` option to network config (centos)
20
+ - [template][centos] Fixed corrupted rpm database
21
+
22
+
23
+
4
24
  version 2.2.4
5
25
  -------------
26
+
6
27
  Released on Sep 2nd 2014
7
28
 
8
29
  - [template] Added the ``-cpu host`` option to qemu to improve performances
@@ -83,7 +83,7 @@ setup:
83
83
  - dist_upgrade: true
84
84
  - install_software:
85
85
  - packages: >
86
- debian-keyring ntp sudo less vim bash-completion curl less acpid
86
+ debian-keyring sudo less vim bash-completion curl less acpid
87
87
  linux-image-$$kernel_arch isc-dhcp-client isc-dhcp-common ifupdown
88
88
  iptables iputils-ping iproute pciutils psmisc resolvconf extlinux
89
89
  - configure_kernel
@@ -85,7 +85,7 @@ setup:
85
85
  - dist_upgrade: true
86
86
  - install_software:
87
87
  - packages: >
88
- debian-keyring ntp rsync sudo less vim bash-completion
88
+ debian-keyring rsync sudo less vim bash-completion
89
89
  # Configuration
90
90
  - configure_system:
91
91
  - locales: POSIX C en_US fr_FR de_DE
@@ -72,7 +72,7 @@ setup:
72
72
  - dist_upgrade: true
73
73
  - install_software:
74
74
  - packages: >
75
- debian-keyring ntp zip unzip rsync sudo less vim bash-completion
75
+ debian-keyring zip unzip rsync sudo less vim bash-completion
76
76
  # Configuration
77
77
  - configure_system:
78
78
  - locales: POSIX C en_US fr_FR de_DE
@@ -78,10 +78,11 @@ bootstrap:
78
78
  - packages: parted e2fsprogs debootstrap extlinux
79
79
  - initialize_disk
80
80
  - debootstrap:
81
- - include_pkg: >
81
+ - include_pkg: >
82
82
  apt-utils ca-certificates locales less linux-image-$$kernel_arch
83
83
  isc-dhcp-client ifupdown iptables iputils-ping iproute pciutils
84
- psmisc acpid acpi-support-base openssh-server sysvinit
84
+ psmisc acpid acpi-support-base openssh-server sysvinit man-db
85
+ net-tools
85
86
  - release: $$release
86
87
  - arch: $$arch
87
88
  - repository: $$apt_repository
@@ -99,7 +100,7 @@ setup:
99
100
  - dist_upgrade: true
100
101
  - install_software:
101
102
  - packages: >
102
- debian-keyring ntp sudo less vim bash-completion curl less bzip2 wget
103
+ debian-keyring sudo less vim bash-completion curl less bzip2 wget
103
104
  dialog htop tree extlinux
104
105
  - install_bootloader
105
106
  # Configuration
@@ -44,17 +44,19 @@
44
44
  - write_out:
45
45
  - $$rootfs/etc/sysconfig/network-scripts/ifcfg-eth0
46
46
  - |
47
- DEVICE=eth0
48
- BOOTPROTO=dhcp
49
- ONBOOT=yes
50
- HOSTNAME=$$hostname
51
- NM_CONTROLLED=no
52
- TYPE=Ethernet
47
+ DEVICE="eth0"
48
+ BOOTPROTO="dhcp"
49
+ HOSTNAME="$$hostname"
50
+ IPV6INIT="yes"
51
+ NM_CONTROLLED="yes"
52
+ ONBOOT="yes"
53
+ TYPE="Ethernet"
53
54
  - write_out:
54
55
  - $$rootfs/etc/sysconfig/network
55
56
  - |
56
57
  NETWORKING=yes
57
58
  HOSTNAME=$$hostname
59
+ RES_OPTIONS="single-request-reopen"
58
60
 
59
61
  - umount_chroot:
60
62
  - on_clean:
@@ -17,7 +17,11 @@
17
17
  - exec_local: VBoxManage modifyvm $$virtualbox_vmid --boot2 disk
18
18
  - exec_local: VBoxManage modifyvm $$virtualbox_vmid --memory $$virtualbox_memory_size
19
19
  - exec_local: VBoxManage modifyvm $$virtualbox_vmid --acpi on
20
- - exec_local: VBoxManage modifyvm $$virtualbox_vmid --nic1 nat --nictype1 82540EM --cableconnected1 on
20
+ - exec_local: VBoxManage modifyvm $$virtualbox_vmid --nictype1 82540EM
21
+ - exec_local: VBoxManage modifyvm $$virtualbox_vmid --nictype2 82540EM
22
+ - exec_local: VBoxManage modifyvm $$virtualbox_vmid --nictype3 82540EM
23
+ - exec_local: VBoxManage modifyvm $$virtualbox_vmid --nictype4 82540EM
24
+ - exec_local: VBoxManage modifyvm $$virtualbox_vmid --nic1 nat --cableconnected1 on
21
25
  - exec_local: VBoxManage modifyvm $$virtualbox_vmid --natpf1 guestssh,tcp,,$$virtualbox_ssh_port,,22
22
26
  - exec_local: VBoxManage storagectl $$virtualbox_vmid --name "IDE Controller" --add ide
23
27
  - exec_local: |
@@ -1,4 +1,11 @@
1
- # Save Appliance from virtualbox ti vagrant
1
+ # Save Appliance from virtualbox vagrant
2
+
3
+ - memory_size: $$virtualbox_memory_size
4
+
5
+ - customized_vm:
6
+ - exec_local: VBoxManage modifyvm $$virtualbox_vmid --natpf1 delete guestssh
7
+ - exec_local: VBoxManage storageattach $$virtualbox_vmid --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium none
8
+ - exec_local: VBoxManage modifyvm $$virtualbox_vmid --memory $$memory_size
2
9
 
3
10
  - save_box:
4
11
  - check_cmd_local: vagrant
@@ -17,15 +17,17 @@
17
17
  - write_in:
18
18
  - /etc/sysconfig/network-scripts/ifcfg-eth0
19
19
  - |
20
- DEVICE=eth0
21
- BOOTPROTO=dhcp
22
- ONBOOT=yes
23
- HOSTNAME=$$hostname
24
- NM_CONTROLLED=no
25
- TYPE=Ethernet
26
- MTU=$$mtu
20
+ DEVICE="eth0"
21
+ BOOTPROTO="dhcp"
22
+ HOSTNAME="$$hostname"
23
+ IPV6INIT="yes"
24
+ NM_CONTROLLED="yes"
25
+ ONBOOT="yes"
26
+ TYPE="Ethernet"
27
+ MTU="$$mtu"
27
28
  - write_in:
28
29
  - /etc/sysconfig/network
29
30
  - |
30
31
  NETWORKING=yes
31
32
  HOSTNAME=$$hostname
33
+ RES_OPTIONS="single-request-reopen"
@@ -66,7 +66,8 @@
66
66
  - cleanup:
67
67
  - exec_in: rm -rf /tmp/* || true
68
68
  - exec_in: rm -rf /var/tmp/* || true
69
- - exec_in: echo "cleaning up dhcp leases"
69
+ - exec_in: echo "Remove traces of mac address from network configuration"
70
+ - exec_in: sed -i /HWADDR/d /etc/sysconfig/network-scripts/ifcfg-eth0
70
71
  - exec_in: rm -f /etc/udev/rules.d/70-persistent-net.rules
71
72
 
72
73
  - nullify_freespace:
@@ -39,6 +39,19 @@
39
39
  #QUICKNDIRTYCALC
40
40
  #VERBOSE
41
41
 
42
+ - configure_source_list:
43
+ - write_in:
44
+ - /etc/apt/sources.list
45
+ - |
46
+ deb $$apt_repository $${release} main
47
+ deb-src $$apt_repository $${release} main
48
+
49
+ deb $$apt_repository $${release}-backports main
50
+ deb-src $$apt_repository $${release}-backports main
51
+
52
+ deb http://security.debian.org/ $${release}/updates main
53
+ deb-src http://security.debian.org/ $${release}/updates main
54
+
42
55
  - add_contribs_and_nonfree_sources:
43
56
  - exec_in: |
44
57
  if [ $$enable_contrib = true ]; then
@@ -1,6 +1,4 @@
1
1
  - configure_yum:
2
- - exec_in: rm -rf -- /var/lib/rpm/*
3
- - exec_in: rpm --initdb
4
2
  - exec_in: echo $$release > /etc/yum/vars/releasever
5
3
 
6
4
  - update_system:
@@ -26,7 +26,7 @@ global:
26
26
  ## VirtualBox options
27
27
  virtualbox_memory_size: 768
28
28
  virtualbox_ssh_port: 55423
29
- virtualbox_os_type: Linux_64
29
+ virtualbox_os_type: RedHat_64
30
30
  virtualbox_vmid: $${kameleon_recipe_name}_$${kameleon_short_uuid}
31
31
  virtualbox_image_size: 10000 ## megabytes
32
32
  virtualbox_image_disk: $$kameleon_cwd/base_$$kameleon_recipe_name.vdi
@@ -91,7 +91,7 @@ setup:
91
91
  iptables-ipv6 libuser logrotate m4 openssh-server passwd
92
92
  pciutils-libs rsyslog dbus system-config-firewall-base which
93
93
  findutils yum util-linux vim-minimal net-tools openssh-server
94
- kernel kernel-devel acpid
94
+ kernel kernel-devel acpid man
95
95
  - install_bootloader
96
96
  - configure_system:
97
97
  - locales: POSIX C en_US fr_FR de_DE
@@ -26,7 +26,7 @@ global:
26
26
  ## VirtualBox options
27
27
  virtualbox_memory_size: 768
28
28
  virtualbox_ssh_port: 55423
29
- virtualbox_os_type: Linux_64
29
+ virtualbox_os_type: RedHat_64
30
30
  virtualbox_vmid: $${kameleon_recipe_name}_$${kameleon_short_uuid}
31
31
  virtualbox_image_size: 10000 ## megabytes
32
32
  virtualbox_image_disk: $$kameleon_cwd/base_$$kameleon_recipe_name.vdi
@@ -87,7 +87,7 @@ setup:
87
87
  - install_software:
88
88
  - packages: >
89
89
  kernel bash-completion kbd sudo openssh-clients syslinux-extlinux acpid
90
- ntp ntpdate
90
+ ntp ntpdate man
91
91
  - install_bootloader
92
92
  - configure_system:
93
93
  - locales: POSIX C en_US fr_FR de_DE
@@ -72,10 +72,11 @@ bootstrap:
72
72
  - packages: parted e2fsprogs debootstrap extlinux
73
73
  - initialize_disk
74
74
  - debootstrap:
75
- - include_pkg: >
75
+ - include_pkg: >
76
76
  apt-utils ca-certificates locales less linux-image-$$kernel_arch
77
77
  isc-dhcp-client ifupdown iptables iputils-ping iproute pciutils
78
- psmisc acpid acpi-support-base openssh-server sysvinit
78
+ psmisc acpid acpi-support-base openssh-server sysvinit man-db
79
+ net-tools
79
80
  - release: $$release
80
81
  - arch: $$arch
81
82
  - repository: $$apt_repository
@@ -93,8 +94,8 @@ setup:
93
94
  - dist_upgrade: true
94
95
  - install_software:
95
96
  - packages: >
96
- debian-keyring ntp sudo less vim bash-completion curl less bzip2 wget
97
- dialog htop tree extlinux
97
+ debian-keyring sudo less vim bash-completion curl less bzip2 wget
98
+ dialog tree extlinux
98
99
  - install_bootloader
99
100
  # Configuration
100
101
  - configure_system:
@@ -1 +1 @@
1
- 2.2.4
1
+ 2.2.5
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kameleon-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
5
- prerelease:
4
+ version: 2.2.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Salem Harrache
@@ -12,66 +11,60 @@ authors:
12
11
  autorequire:
13
12
  bindir: bin
14
13
  cert_chain: []
15
- date: 2014-09-02 00:00:00.000000000 Z
14
+ date: 2014-09-19 00:00:00.000000000 Z
16
15
  dependencies:
17
16
  - !ruby/object:Gem::Dependency
18
17
  name: childprocess
19
18
  requirement: !ruby/object:Gem::Requirement
20
- none: false
21
19
  requirements:
22
- - - ~>
20
+ - - "~>"
23
21
  - !ruby/object:Gem::Version
24
22
  version: 0.5.3
25
- - - ! '>='
23
+ - - ">="
26
24
  - !ruby/object:Gem::Version
27
25
  version: 0.3.0
28
26
  type: :runtime
29
27
  prerelease: false
30
28
  version_requirements: !ruby/object:Gem::Requirement
31
- none: false
32
29
  requirements:
33
- - - ~>
30
+ - - "~>"
34
31
  - !ruby/object:Gem::Version
35
32
  version: 0.5.3
36
- - - ! '>='
33
+ - - ">="
37
34
  - !ruby/object:Gem::Version
38
35
  version: 0.3.0
39
36
  - !ruby/object:Gem::Dependency
40
37
  name: thor
41
38
  requirement: !ruby/object:Gem::Requirement
42
- none: false
43
39
  requirements:
44
- - - ~>
40
+ - - "~>"
45
41
  - !ruby/object:Gem::Version
46
42
  version: '0.19'
47
- - - ! '>='
43
+ - - ">="
48
44
  - !ruby/object:Gem::Version
49
45
  version: 0.15.0
50
46
  type: :runtime
51
47
  prerelease: false
52
48
  version_requirements: !ruby/object:Gem::Requirement
53
- none: false
54
49
  requirements:
55
- - - ~>
50
+ - - "~>"
56
51
  - !ruby/object:Gem::Version
57
52
  version: '0.19'
58
- - - ! '>='
53
+ - - ">="
59
54
  - !ruby/object:Gem::Version
60
55
  version: 0.15.0
61
56
  - !ruby/object:Gem::Dependency
62
57
  name: table_print
63
58
  requirement: !ruby/object:Gem::Requirement
64
- none: false
65
59
  requirements:
66
- - - ~>
60
+ - - "~>"
67
61
  - !ruby/object:Gem::Version
68
62
  version: 1.5.2
69
63
  type: :runtime
70
64
  prerelease: false
71
65
  version_requirements: !ruby/object:Gem::Requirement
72
- none: false
73
66
  requirements:
74
- - - ~>
67
+ - - "~>"
75
68
  - !ruby/object:Gem::Version
76
69
  version: 1.5.2
77
70
  description: The mindful appliance builder
@@ -85,9 +78,9 @@ executables:
85
78
  extensions: []
86
79
  extra_rdoc_files: []
87
80
  files:
88
- - .editorconfig
89
- - .env
90
- - .gitignore
81
+ - ".editorconfig"
82
+ - ".env"
83
+ - ".gitignore"
91
84
  - AUTHORS
92
85
  - CHANGELOG.rst
93
86
  - COPYING
@@ -274,27 +267,26 @@ files:
274
267
  homepage: http://kameleon.readthedocs.org/
275
268
  licenses:
276
269
  - GPL-2
270
+ metadata: {}
277
271
  post_install_message:
278
272
  rdoc_options: []
279
273
  require_paths:
280
274
  - lib
281
275
  required_ruby_version: !ruby/object:Gem::Requirement
282
- none: false
283
276
  requirements:
284
- - - ! '>='
277
+ - - ">="
285
278
  - !ruby/object:Gem::Version
286
279
  version: '0'
287
280
  required_rubygems_version: !ruby/object:Gem::Requirement
288
- none: false
289
281
  requirements:
290
- - - ! '>='
282
+ - - ">="
291
283
  - !ruby/object:Gem::Version
292
284
  version: '0'
293
285
  requirements: []
294
286
  rubyforge_project:
295
- rubygems_version: 1.8.23
287
+ rubygems_version: 2.2.2
296
288
  signing_key:
297
- specification_version: 3
289
+ specification_version: 4
298
290
  summary: Kameleon is a tool to build virtual machines from scratch
299
291
  test_files:
300
292
  - tests/helper.rb