• You may use the apt-install command to install packages in %post --nochroot scripts (although you might also choose to generate a %packages section in a %pre script and include it using %include ). Note that this does not work if the post-installation script is run in the chroot environ- ment. 

## 4.4.2.2. Missing features 

As yet, the Ubuntu installer only supports a subset of Kickstart’s features. The following is a brief summary of features that are known to be missing: 

• LDAP, Kerberos 5, Hesiod, and Samba authentication. 

• The auth --enablecache command to enable nscd . 

• Upgrades. To upgrade from one Ubuntu release to another, use the facilities provided by apt and its frontends. 

• Partitioning of multiple drives. Due to current limitations in the partition manager, it is only possible to partition a single drive. 

• Using the device command to install extra kernel modules. 

• Driver disks. 

• Firewall configuration. 

• Installation from an archive on a local hard disk or from an NFS archive. 

• The logvol --percent , --bytes-per-inode , and --fsoptions options for certain kinds of detailed Logical Volume Management (LVM) configuration. (LVM configuration in general is experimentally supported as of Ubuntu 9.04; please let us know about your experiences with it.) 

• Restrictions of a partition to a particular disk or device, and specifications of the starting or ending cylinder for a partition. 

• Checking a partition for bad sectors. 

• RAID configuration. 

• Exclusions in %packages sections are no longer supported as of Ubuntu 6.10, as a casualty of other improvements. You may need to use a %post script instead to remove unnecessary packages. 

• Pre-installation scripts and non-chrooted post-installation scripts may only be shell scripts; other interpreters are not available at this point in the installation. 

## 4.4.2.3. Example 

Here is an example Kickstart file that can be used as a starting point: 

# #Generic Kickstart template for Ubuntu #Platform: x86 and x86-64 # 

#System language lang en_US 

