From 6a8755d76e0482d4245a5e9430cce3a3500cffac Mon Sep 17 00:00:00 2001 From: "Julian C. Dunn" Date: Fri, 5 Jul 2013 13:08:54 -0400 Subject: [PATCH] Clean up for new provisionerless box format. Add sshd optimization. --- definitions/.fedora/cleanup.sh | 1 - definitions/.fedora/session.rb | 4 ++-- definitions/fedora-18/chef-client.sh | 1 - definitions/fedora-18/sshd.sh | 1 + 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 120000 definitions/fedora-18/chef-client.sh create mode 120000 definitions/fedora-18/sshd.sh diff --git a/definitions/.fedora/cleanup.sh b/definitions/.fedora/cleanup.sh index c515ffa94..a4d82c900 100644 --- a/definitions/.fedora/cleanup.sh +++ b/definitions/.fedora/cleanup.sh @@ -1,5 +1,4 @@ #!/bin/bash -eux yum -y erase gtk2 libX11 hicolor-icon-theme freetype yum -y clean all -rm -rf VBoxGuestAdditions_*.iso VBoxGuestAdditions_*.iso.? rm -f /tmp/chef*rpm diff --git a/definitions/.fedora/session.rb b/definitions/.fedora/session.rb index 7a4d0dd4a..8fae74a1e 100644 --- a/definitions/.fedora/session.rb +++ b/definitions/.fedora/session.rb @@ -6,8 +6,8 @@ :kickstart_file => "ks.cfg", :os_type_id => 'Fedora_64', :memory_size=> "512", - :postinstall_files => [ "chef-client.sh", - "vagrant.sh", + :postinstall_files => [ "vagrant.sh", + "sshd.sh", "cleanup.sh", "minimize.sh" ], :shutdown_cmd => "/sbin/halt -h -p" }) diff --git a/definitions/fedora-18/chef-client.sh b/definitions/fedora-18/chef-client.sh deleted file mode 120000 index 635081810..000000000 --- a/definitions/fedora-18/chef-client.sh +++ /dev/null @@ -1 +0,0 @@ -../.common/chef-client.sh \ No newline at end of file diff --git a/definitions/fedora-18/sshd.sh b/definitions/fedora-18/sshd.sh new file mode 120000 index 000000000..f353f2d00 --- /dev/null +++ b/definitions/fedora-18/sshd.sh @@ -0,0 +1 @@ +../.common/sshd.sh \ No newline at end of file