1. 28 Sep, 2016 1 commit
  2. 12 Sep, 2016 1 commit
    • Nikos Skalkotos's avatar
      Rename networking drivers for debian & redhat · 8d01d9f2
      Nikos Skalkotos authored
      Rename debian.sh to ifupdown.sh and redhat.sh to ifcfg.sh. This is done
      to make things more clear in case we add more network drivers that do
      apply to Debian and RedHat like a driver for NetworkManager.
  3. 09 Sep, 2016 1 commit
    • Nikos Skalkotos's avatar
      docs: fix minor issues · 7538331f
      Nikos Skalkotos authored
      * Fix a list that was parsed incorrect
      * Make some links with name "here", "diskdump", "md5sum" and "metadata"
        anonymous, so that sphinx stops complaining that those names are
        defined multiple times.
  4. 05 Sep, 2016 1 commit
  5. 20 Jul, 2016 3 commits
  6. 10 Mar, 2016 2 commits
  7. 09 Mar, 2016 1 commit
  8. 29 Jan, 2016 5 commits
    • Dimitris Aragiorgis's avatar
      kvm: Support various target device types · dd40330b
      Dimitris Aragiorgis authored
      Old QEMU versions used -drive file=<file>,iface=<iface> in order
      to define a virtual disk. Until now snf-image was using this
      deprecated method and launched the helper using the virtio
      interface. Here we use the new interface which goes down to:
       -drive file=<file>,iface=none,id=disk0
       -device <driver>,drive=disk0
      Ganeti exports the disk type to be used as INSTANCE_HV_disk_type.
      Some of the allowed values are: paravirtual, scsi, scsi-hd,
      scsi-generic, scsi-block, etc.
      In case of paravirtual device type the <driver> will be
      "virtio-blk-pci" and the helper will see the disk as /dev/vdb.
      If the disk type is scsi'ish then the helper will see the device as
      /dev/sda and the <driver> will be:
        - scsi-hd for scsi
        - the same as disk type otherwise
      Note that in case of a scsi'ish disk type an extra SCSI controller
      (virtio-scsi-pci) is added to the QEMU command line.
      Signed-off-by: default avatarDimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
    • Dimitris Aragiorgis's avatar
      Support userspace-only disks · 766fd6a4
      Dimitris Aragiorgis authored
      Commits e147e00 and c4f1bff in Ganeti add support for userspace-only
      disks. That means that we could have an instance without a local
      block device (e.g. using the embedded support in QEMU for rbd by
      passing -drive file=rbd:pool/image_name without the need of a
      /dev/rdbX device).
      This patch does the following:
      Introduce a find_disk() helper method that first checks the
      DISK_IDX_PATH and if it is not exported then it returns
      Introduce a losetup_disk() helper method that is used during
      export/import and in case we have an ntfsdump/extdump image type.
      Signed-off-by: default avatarDimitris Aragiorgis <dimitris.aragiorgis@gmail.com>
    • Nikos Skalkotos's avatar
      Bump version to 0.19next · 95597305
      Nikos Skalkotos authored
    • Nikos Skalkotos's avatar
      Merge branch 'master' into develop · 1953cfab
      Nikos Skalkotos authored
    • Nikos Skalkotos's avatar
  9. 28 Jan, 2016 6 commits
  10. 26 Jan, 2016 2 commits
  11. 19 Jan, 2016 5 commits
  12. 18 Jan, 2016 1 commit
  13. 15 Jan, 2016 1 commit
    • Nikos Skalkotos's avatar
      Add support for newer versions of Xen · f5e68537
      Nikos Skalkotos authored
      Create a XEN_CMD variable that will host the Xen CLI tool to be used.
      This depends on the Xen version and configuration. Older versions of Xen
      used xm. This was deprecated in favor of xl in version 4.1 and
      completely removed in version 4.5.
  14. 13 Jan, 2016 5 commits
    • Nikos Skalkotos's avatar
      helper: Fix bug in windows_add_synchronous_command · 5adac9a6
      Nikos Skalkotos authored
      Fix a bug where an extra empty RunSynchronousCommand element was added
      to the Windows unattend.xml file.
    • Nikos Skalkotos's avatar
      Add new os_answer_file image property · 4dae7b02
      Nikos Skalkotos authored
      This can be used to specify a URI hosting a Windows answer file to be
      injected to the image during deployment. Depending on the image (windows
      or windows-legacy) this file can either be an xml file (unattend.xml) or
      an inf one (sysprep.inf). The file gets higher priority than the file
      that may be hosted inside the image.
    • Nikos Skalkotos's avatar
      Add new WINDOWS_TIMEZONE variable · b687eb2c
      Nikos Skalkotos authored
      This can be used to specify the time zone in the answer file that will
      be injected to the Windows Image.
    • Nikos Skalkotos's avatar
      Add default sysprep.inf file. · c6c27147
      Nikos Skalkotos authored
      If a windows-legacy image does not host a sysprep.inf file, then add
      one during the deployment. The default one is hosted by snf-image-host
      and is passed to snf-image-helper through the configuration floppy. The
      same mechanism is used for unattend.xml, where the default file is moved
      to snf-image-host.
    • Nikos Skalkotos's avatar
      Set Administrator password in sysprep.inf · d8587aa0
      Nikos Skalkotos authored
      The administrator password in Windows XP is a special case. If the
      AdminPassword entry of the GuiUnattended section is missing, then the
      installation is not unattended.
  15. 12 Jan, 2016 1 commit
  16. 29 Dec, 2015 1 commit
  17. 23 Dec, 2015 3 commits
    • Nikos Skalkotos's avatar
      Add a new FilesystemResizeAfterUmount task · aac04183
      Nikos Skalkotos authored
      Move there the offline resize code of NTFS. It's better to perform this
      after the customization has finished since ntfsresize will mark the file
      system as dirty as mounting it is not safe.
    • Nikos Skalkotos's avatar
      Reorder the task priorities · 4e49a904
      Nikos Skalkotos authored
      Theoretically, if an image contains an XFS filesystem with no free
      space, the deployment will fail unless the FilesystemResizeMounted
      tasks runs before any other mounted task. The only exception to this
      is InstallUnattend which the task depends on.
    • Nikos Skalkotos's avatar
      Fix os_product_key verification code · fec9b264
      Nikos Skalkotos authored
      Product key is a 25-character code and not a 20-character one.