-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadditional.packages
75 lines (64 loc) · 1.75 KB
/
additional.packages
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This is the list of additional packages that will be installed in
# the guest. Note these will be installed in a chroot environment
# which may bring its own issues. If you just want to mirror packages
# add them to mirror.packages.
# It is best to keep this list short, and continue the install from a
# running guest using the mirror, chef, puppet, etc.
#
# See: nfs-common at the end of this document.
#
# Ruby
ruby
ruby-dev
libopenssl-ruby
irb
rubygems
#
# Tools for building
build-essential
#
# Inet
curl
wget
ssl-cert
#
# SSH Server
openssh-server
#
# Kernel
# linux-image-virtual
# linux-image-server
linux-image-2.6.35-22-virtual
grub
#
# Added as it is no longer install by debootstrap.
aptitude
#
# Git
git-core
#
# You may get away with additional packages, but not all packages
# can be installed in a chroot environment.
# If you want to install additional packages it is best to mirror them
# and then boot the kvm and mount the mirror using NFS, or
# alternatively use chef or puppet to continue the install. Using NFS
# brings it's own issues see the following.
# NFS client for mounting the mirror
# nfs-common won't install in a chroot
# without some additional help.
#
# First time through the installation of nfs-common will fail.
# Steps:
# 1) Use 12-chroot.bash to enter the chroot
# 2) chroot# dpkg-divert --local --rename --add /sbin/initctl
# 3) chroot# ln -s /bin/true /sbin/initctl
# 4) chroot# apt-get install nfs-common
# 5) chroot# rm /sbin/initctl
# 6) chroot# dpkg-divert --local --rename --remove /sbin/initctl
#
# nfs-common tries to use upstart to start statd resulting in:
# start: Unknown job: statd
#
# Thanks: http://blog.opperschaap.net/2009/11/16/chroot-with-upstart/
#
#nfs-common