kameleon-builder 2.10.12 → 2.10.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGES +19 -0
- data/COPYING +5 -5
- data/README.rst +20 -5
- data/erb/extend.yaml.erb +1 -1
- data/kameleon-builder.gemspec +11 -9
- data/lib/kameleon/engine.rb +1 -1
- data/lib/kameleon/persistent_cache.rb +1 -1
- data/lib/kameleon/recipe.rb +9 -9
- data/lib/kameleon/step.rb +3 -3
- data/lib/kameleon/version.rb +1 -1
- data/lib/kameleon.rb +1 -1
- metadata +22 -58
- data/contrib/scripts/VirtualBox_deploy.sh +0 -12
- data/contrib/scripts/chroot_env +0 -9
- data/contrib/scripts/create_passwd.py +0 -17
- data/contrib/scripts/umount-chroot.sh +0 -290
- data/contrib/steps/bootstrap/debian/bootstrap_if_needed.yaml +0 -47
- data/contrib/steps/bootstrap/debian/bootstrap_static.yaml +0 -38
- data/contrib/steps/bootstrap/debian/debootstrap_arm.yaml +0 -23
- data/contrib/steps/export/clean_appliance.yaml +0 -9
- data/contrib/steps/export/compact_qcow_img.yaml +0 -12
- data/contrib/steps/export/save_as_g5k.yaml +0 -63
- data/contrib/steps/setup/add_timestamp.yaml +0 -6
- data/contrib/steps/setup/add_to_sudoers.yaml +0 -5
- data/contrib/steps/setup/archlinux/configure_ruby.yaml +0 -7
- data/contrib/steps/setup/archlinux/install_dev_tools.yaml +0 -18
- data/contrib/steps/setup/archlinux/install_gnome.yaml +0 -27
- data/contrib/steps/setup/archlinux/install_yaourt.yaml +0 -29
- data/contrib/steps/setup/autologin.yaml +0 -16
- data/contrib/steps/setup/centos/6.5/configure_repo.yaml +0 -9
- data/contrib/steps/setup/copy_ssh_auth_file.yaml +0 -10
- data/contrib/steps/setup/debian/add_network_interface.yaml +0 -7
- data/contrib/steps/setup/debian/cluster_tools_install.yaml +0 -16
- data/contrib/steps/setup/debian/install_gnome.yaml +0 -13
- data/contrib/steps/setup/debian/install_kde.yaml +0 -13
- data/contrib/steps/setup/debian/network_config_static.yaml +0 -17
- data/contrib/steps/setup/generate_user_ssh_key.yaml +0 -15
- data/contrib/steps/setup/install_my_ssh_key.yaml +0 -26
- data/contrib/steps/setup/make_swap_file.yaml +0 -9
- data/contrib/steps/setup/root_ssh_config.yaml +0 -18
- data/contrib/steps/setup/set_user_password.yaml +0 -7
- data/contrib/steps/setup/system_optimization.yaml +0 -8
@@ -1,17 +0,0 @@
|
|
1
|
-
# Network Static Config
|
2
|
-
- network_interfaces:
|
3
|
-
# WARNING: The MTU is set to 1492 to avoid connection failure over some
|
4
|
-
# network du to PPP header
|
5
|
-
- write_in:
|
6
|
-
- /etc/network/interfaces
|
7
|
-
- |
|
8
|
-
auto lo
|
9
|
-
iface lo inet loopback
|
10
|
-
|
11
|
-
auto eth0
|
12
|
-
iface eth0 inet static
|
13
|
-
address $$ip_address
|
14
|
-
netmask $$netmask
|
15
|
-
gateway $$gateway
|
16
|
-
dns-nameservers $$dns
|
17
|
-
mtu $$mtu
|
@@ -1,15 +0,0 @@
|
|
1
|
-
# # Generate User Ssh Key
|
2
|
-
- generate_keys:
|
3
|
-
- exec_in: |
|
4
|
-
mkdir -p /home/$$user_name/.ssh
|
5
|
-
ssh-keygen -t rsa -C "$$user_name@$$network_hostname" -N "" -f home/$$user_name/.ssh/id_rsa
|
6
|
-
#fix permissions
|
7
|
-
chmod 700 /home/$$user_name/.ssh
|
8
|
-
chmod 644 /home/$$user_name/.ssh/id_rsa.pub
|
9
|
-
chmod 600 /home/$$user_name/.ssh/id_rsa
|
10
|
-
- exec_in: chown -R $$user_name:$$user_group home/$$user_name/.ssh
|
11
|
-
- save_public_key:
|
12
|
-
- in2local:
|
13
|
-
- /home/$$user_name/.ssh/id_rsa.pub
|
14
|
-
- $$generated_rsa_pub_dir
|
15
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# Install your own key in the selected user home
|
2
|
-
# By default from local root to in root
|
3
|
-
|
4
|
-
- local_private_key: /root/.ssh/id_rsa
|
5
|
-
- local_public_key: $$local_private_key.pub
|
6
|
-
- in_user: root
|
7
|
-
- in_group: root
|
8
|
-
- in_home: /root
|
9
|
-
- in_private_key: $$in_home/.ssh/id_rsa
|
10
|
-
- in_public_key: $$in_private_key.pub
|
11
|
-
|
12
|
-
- copy_my_key:
|
13
|
-
- local2in:
|
14
|
-
- $$local_private_key
|
15
|
-
- $$in_private_key
|
16
|
-
- local2in:
|
17
|
-
- $$local_public_key
|
18
|
-
- $$in_public_key
|
19
|
-
|
20
|
-
|
21
|
-
- fix_permissions:
|
22
|
-
- exec_in: |
|
23
|
-
chown -R $$in_user:$$in_group $$in_home/.ssh
|
24
|
-
chmod 755 $$in_home/.ssh
|
25
|
-
chmod 600 $$in_private_key
|
26
|
-
chmod 644 $$in_public_key
|
@@ -1,18 +0,0 @@
|
|
1
|
-
# # Root Ssh Config
|
2
|
-
- ssh_key_create:
|
3
|
-
- exec_in: mkdir -p /root/.ssh
|
4
|
-
- exec_in: ssh-keygen -t rsa -f /root/.ssh/id_rsa -C "root@$$network_hostname" -N ''
|
5
|
-
- exec_in: ssh-keygen -t dsa -f /root/.ssh/id_dsa -C "root@$$network_hostname" -N ''
|
6
|
-
- copy_key_to_auth_file:
|
7
|
-
- exec_in: cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
|
8
|
-
- copy_key_to_auth2_file:
|
9
|
-
- exec_in: cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys2
|
10
|
-
- root_ssh_config:
|
11
|
-
- append_in:
|
12
|
-
- /root/.ssh/config
|
13
|
-
- |
|
14
|
-
Host *
|
15
|
-
PasswordAuthentication yes
|
16
|
-
RSAAuthentication yes
|
17
|
-
StrictHostKeyChecking no
|
18
|
-
NoHostAuthenticationForLocalhost yes
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Sets the user password to "kameleon" hash in SHA512. Use create_script.py
|
2
|
-
# in contrib/scripts to generate your own password
|
3
|
-
|
4
|
-
- hash_password: $6$vDcPTe4u$EMxu.WTCjZaZeWQxiqFLC00gYledHmrvHsjvmAE1yQ/7d43EZrb0QuzcFdDv.Fm2IbbOLNdPvqdS08os6HHPH/
|
5
|
-
|
6
|
-
- set_user_passwd:
|
7
|
-
- exec_in: usermod -p '$$hash_password' $$user_name
|