diff options
Diffstat (limited to 'default/from_scratch/x86_64/debian-base.yaml')
-rw-r--r-- | default/from_scratch/x86_64/debian-base.yaml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/default/from_scratch/x86_64/debian-base.yaml b/default/from_scratch/x86_64/debian-base.yaml new file mode 100644 index 0000000..447e57d --- /dev/null +++ b/default/from_scratch/x86_64/debian-base.yaml @@ -0,0 +1,67 @@ +#============================================================================== +# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80 +#============================================================================== +# +# DESCRIPTION: Debian generic recipe using the netinstall mechanim +# +# USAGE: +# Select directly in this recipe: see usage example commented in the global of +# this recipe +# +# or, override the globals directly in CLI. For example: +# +# kameleon build --global distrib:debian,release:wheezy +# +# or extends this recipe with your own and override those variable in it. +# +#============================================================================== +--- +extend: base.yaml + +global: + # Boilerplate values, so that `kameleon info' works with the recipe. + # For a specific version of Debian, please see the dedicated recipe, as this + # recipe is mainly meant as being extended. + distrib: debian + deb_arch: amd64 + release: jessie + release_number: 8 + + # URL to retrieve packages from (sources.list) + deb_mirror_hostname: deb.debian.org + deb_mirror_directory: /debian + deb_mirror_uri: http://$${deb_mirror_hostname}$${deb_mirror_directory} + deb_security_hostname: security.debian.org + deb_security_directory: /debian + deb_components: main contrib non-free + + # Install from the installer's iso + # The location of the Debian netinstall iso can be set manually or guessed + # using a url finder helper script + #installer_iso_filename: debian-$${release_number}-$${deb_arch}-netinst.iso + #installer_iso_location: archive + #installer_iso_release_version: 8.0.0 + #installer_iso_url: http://cdimage.debian.org/cdimage/$${installer_iso_location}/$${installer_iso_release_version}/$${deb_arch}/iso-cd/$${installer_iso_filename} + installer_iso_url: + installer_iso_finder_helper: $${kameleon_data_dir}/helpers/netinstall_iso_finder.py + installer_iso_finder_args: $${distrib} $${release_number} $${deb_arch} + qemu_iso_path: $${kameleon_cwd}/$${distrib}.iso + # Or install from the netboot kernel and initrd directly + #installer_kernel_url: http://deb.debian.org/debian/dists/$${release}/main/installer-$${deb_arch}/current/images/netboot/debian-installer/$${deb_arch}/linux + #installer_initrd_url: http://deb.debian.org/debian/dists/$${release}/main/installer-$${deb_arch}/current/images/netboot/debian-installer/$${deb_arch}/initrd.gz + #installer_cmdline: "auto url=http://%LOCAL_IP%:%HTTP_PORT%/preseed.cfg" + + base_preseed_path: $${kameleon_data_dir}/preseed/$${distrib}-$${release}-preseed.cfg + preseed_path: $${kameleon_cwd}/preseed.cfg + + qemu_sendkeys_commands: $${kameleon_data_dir}/qemu-sendkeys/netinst-iso-$${distrib} + + +bootstrap: + - "@base" + +setup: + - "@base" + +export: + - "@base" |