All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jclouds.labs.virtualbox.1.7.4-ea-brooklyn.1.source-code.default-images.yaml Maven / Gradle / Ivy

The newest version!
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
images:
    - id: ubuntu-12.04.1-amd64
      name: ubuntu-12.04.1-server-amd64
      description: ubuntu 12.04.1 server (amd64)
      os_arch: amd64
      os_family: ubuntu
      os_description: ubuntu
      os_version: 12.04.1
      os_64bit: true
      iso: http://releases.ubuntu.com/12.04.1/ubuntu-12.04.1-server-amd64.iso
      iso_md5: a8c667e871f48f3a662f3fbf1c3ddb17
      username: toor
      credential: password
      keystroke_sequence:  /install/vmlinuz noapic preseed/url=PRECONFIGURATION_URL debian-installer=en_US auto locale=en_US kbd-chooser/method=us hostname=HOSTNAME fb=false debconf/frontend=noninteractive console-setup/ask_detect=false keyboard-configuration/layoutcode=us initrd=/install/initrd.gz -- 
      preseed_cfg: |
                      ## Options to set on the command line
                      d-i debian-installer/locale string en_US.utf8
                      d-i console-setup/ask_detect boolean false
                      d-i console-setup/layout string USA
                      d-i netcfg/get_hostname string unassigned-hostname
                      d-i netcfg/get_domain string unassigned-domain
                      # Continue without a default route
                      # Not working , specify a dummy in the DHCP
                      #d-i netcfg/no_default_route boolean
                      d-i time/zone string UTC
                      d-i clock-setup/utc-auto boolean true
                      d-i clock-setup/utc boolean true
                      d-i kbd-chooser/method select American English
                      d-i netcfg/wireless_wep string
                      d-i base-installer/kernel/override-image string linux-server
                      #d-i base-installer/kernel/override-image string linux-image-2.6.32-21-generic
                      # Choices: Dialog, Readline, Gnome, Kde, Editor, Noninteractive
                      d-i debconf debconf/frontend select Noninteractive
                      d-i pkgsel/install-language-support boolean false
                      tasksel tasksel/first multiselect standard, ubuntu-server
                      #d-i partman-auto/method string regular
                      d-i partman-auto/method string lvm
                      #d-i partman-auto/purge_lvm_from_device boolean true
                      d-i partman-lvm/confirm boolean true
                      d-i partman-lvm/device_remove_lvm boolean true
                      d-i partman-auto/choose_recipe select atomic
                      d-i partman/confirm_write_new_label boolean true
                      d-i partman/confirm_nooverwrite boolean true
                      d-i partman/choose_partition select finish
                      d-i partman/confirm boolean true
                      #http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=9626883
                      #Message: "write the changes to disk and configure lvm preseed"
                      #http://serverfault.com/questions/189328/ubuntu-kickstart-installation-using-lvm-waits-for-input
                      #preseed partman-lvm/confirm_nooverwrite boolean true
                      # Write the changes to disks and configure LVM?
                      d-i partman-lvm/confirm boolean true
                      d-i partman-lvm/confirm_nooverwrite boolean true
                      d-i partman-auto-lvm/guided_size string max
                      ## Default user, we can get away with a recipe to change this
                      d-i passwd/user-fullname string toor
                      d-i passwd/username string toor
                      d-i passwd/user-password password password
                      d-i passwd/user-password-again password password
                      d-i user-setup/encrypt-home boolean false
                      d-i user-setup/allow-password-weak boolean true
                      ## minimum is ssh and ntp
                      # Individual additional packages to install
                      d-i pkgsel/include string openssh-server ntp
                      # Whether to upgrade packages after debootstrap.
                      # Allowed values: none, safe-upgrade, full-upgrade
                      d-i pkgsel/upgrade select full-upgrade
                      d-i grub-installer/only_debian boolean true
                      d-i grub-installer/with_other_os boolean true
                      d-i finish-install/reboot_in_progress note
                      #For the update
                      d-i pkgsel/update-policy select none
                      # debconf-get-selections --install
                      #Use mirror
                      #d-i apt-setup/use_mirror boolean true
                      #d-i mirror/country string manual
                      #choose-mirror-bin mirror/protocol string http
                      #choose-mirror-bin mirror/http/hostname string 192.168.4.150
                      #choose-mirror-bin mirror/http/directory string /ubuntu
                      #choose-mirror-bin mirror/suite select maverick
                      #d-i debian-installer/allow_unauthenticated string true
                      choose-mirror-bin mirror/http/proxy string
    - id: centos-6.3-amd64
      name: centos-6.3-amd64
      description: centos-6.3 (amd64)
      os_arch: amd64
      os_family: RedHat
      os_description: RedHat
      os_version: 6.3
      os_64bit: true
      iso: http://www.mirrorservice.org/sites/mirror.centos.org/6.3/isos/x86_64/CentOS-6.3-x86_64-minimal.iso
      iso_md5: 087713752fa88c03a5e8471c661ad1a2
      username: toor
      credential: password
      keystroke_sequence:   text ks=PRECONFIGURATION_URL 
      preseed_cfg: |
                      ## Options to set on the command line
                      install
                      cdrom
                      lang en_US.UTF-8
                      keyboard us
                      network --bootproto=dhcp
                      rootpw --iscrypted $1$damlkd,f$UC/u5pUts5QiU3ow.CSso/
                      firewall --enabled --service=ssh
                      authconfig --enableshadow --passalgo=sha512
                      selinux --disabled
                      timezone UTC
                      bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
                      zerombr yes

                      clearpart --all --drives=sda --initlabel
                      autopart
                      auth  --useshadow  --enablemd5
                      #skip answers to the First Boot process
                      firstboot --disable
                      #reboot machine
                      reboot

                      %packages --ignoremissing
                      @core
                      %end

                      %post
                      /usr/bin/yum -y install sudo gcc make kernel kernel-devel openssl-devel perl wget dkms acpid
                      /etc/init.d/haldaemon stop
                      /etc/init.d/acpid start
                      /etc/init.d/haldaemon start
                      /usr/sbin/groupadd toor
                      /usr/sbin/useradd toor -g toor -G wheel
                      echo "password"|passwd --stdin toor
                      echo "toor        ALL=(ALL)       NOPASSWD: ALL" > /etc/sudoers.d/toor
                      chmod 0440 /etc/sudoers.d/toor
                      sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
                      %end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy