msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2014-08-20 06:09+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ./doc/image-guide/section_windows-example.xml:7(title) msgid "Example: Microsoft Windows image" msgstr "" #: ./doc/image-guide/section_windows-example.xml:8(para) msgid "We do not yet have a fully documented example of how to create a Microsoft Windows image. You can use libvirt to install Windows from an installation DVD using the same approach as with the CentOS and Ubuntu examples. Once the initial install is done, you will need to perform some Windows-specific customizations." msgstr "" #: ./doc/image-guide/section_windows-example.xml:13(title) msgid "Install VirtIO drivers" msgstr "" #: ./doc/image-guide/section_windows-example.xml:14(para) msgid "Installing the VirtIO paravirtualizaion drivers for Windows will improve virtual machine performance when using KVM as the hypervisor to run Windows." msgstr "" #: ./doc/image-guide/section_windows-example.xml:19(title) msgid "Sysprep" msgstr "" #: ./doc/image-guide/section_windows-example.xml:20(para) msgid "Microsoft has a special tool called Sysprep that must be run inside of a Windows guest to prepare it for use as a virtual machine image. On Windows, invoke sysprep, as follows: " msgstr "" #: ./doc/image-guide/section_windows-example.xml:27(title) msgid "cloudbase-init" msgstr "" #: ./doc/image-guide/section_windows-example.xml:28(para) msgid "cloudbase-init is a Windows port of cloud-init that should be installed inside of the guest. The source code is available on GitHub." msgstr "" #: ./doc/image-guide/section_windows-example.xml:34(title) msgid "Jordan Rinke's OpenStack Windows resources" msgstr "" #: ./doc/image-guide/section_windows-example.xml:35(para) msgid "Jordan Rinke maintains a collection of resources for managing OpenStack Windows virtual machine guests." msgstr "" #: ./doc/image-guide/section_windows-example.xml:40(title) msgid "Windows instances require the timezone to be \"localtime\"" msgstr "" #: ./doc/image-guide/section_windows-example.xml:41(para) msgid "When uploading Windows images, you must set the os_type parameter to windows, which causes instances to use the local time zone. Failing to set this will cause the clock timezone to be UTC, which has unexpected side effects in Windows." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:7(title) msgid "Disk and container formats for images" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:9(para) msgid "When you add an image to the Image Service, you can specify its disk and container formats." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:12(title) msgid "Disk formats" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:13(para) msgid "The disk format of a virtual machine image is the format of the underlying disk image. Virtual appliance vendors have different formats for laying out the information contained in a virtual machine disk image." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:17(para) msgid "Set the disk format for your image to one of the following values:" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:21(para) msgid "raw. An unstructured disk image format; if you have a file without an extension it is possibly a raw format" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:26(para) msgid "vhd. The VHD disk format, a common disk format used by virtual machine monitors from VMware, Xen, Microsoft, VirtualBox, and others" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:32(para) msgid "vmdk. Common disk format supported by many common virtual machine monitors" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:37(para) msgid "vdi. Supported by VirtualBox virtual machine monitor and the QEMU emulator" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:42(para) msgid "iso. An archive format for the data contents of an optical disc, such as CD-ROM." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:47(para) msgid "qcow2. Supported by the QEMU emulator that can expand dynamically and supports Copy on Write" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:52(para) ./doc/image-guide/section_glance_image-formats.xml:88(para) msgid "aki. An Amazon kernel image." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:56(para) ./doc/image-guide/section_glance_image-formats.xml:92(para) msgid "ari. An Amazon ramdisk image." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:60(para) ./doc/image-guide/section_glance_image-formats.xml:96(para) msgid "ami. An Amazon machine image." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:66(title) msgid "Container formats" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:67(para) msgid "The container format indicates whether the virtual machine image is in a file format that also contains metadata about the actual virtual machine." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:71(para) msgid "The Image Service and other OpenStack projects do not currently support the container format. It is safe to specify bare as the container format if you are unsure." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:76(para) msgid "You can set the container format for your image to one of the following values:" msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:80(para) msgid "bare. The image does not have a container or metadata envelope." msgstr "" #: ./doc/image-guide/section_glance_image-formats.xml:84(para) msgid "ovf. The OVF container format." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:11(title) msgid "Modify images" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:17(para) msgid "Do not attempt to use these tools to modify an image that is attached to a running virtual machine. These tools are designed to only modify images that are not currently running." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:13(para) msgid "Once you have obtained a virtual machine image, you may want to make some changes to it before uploading it to the OpenStack Image Service. Here we describe several tools available that allow you to modify images." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:23(title) msgid "guestfish" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:24(para) msgid "The program is a tool from the libguestfs project that allows you to modify the files inside of a virtual machine image." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:29(para) msgid " does not mount the image directly into the local file system. Instead, it provides you with a shell interface that enables you to view, edit, and delete files. Many of commands, such as , , and , resemble traditional bash commands." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:39(title) msgid "Example guestfish session" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:40(para) msgid "Sometimes, you must modify a virtual machine image to remove any traces of the MAC address that was assigned to the virtual network interface card when the image was first created, because the MAC address will be different when it boots the next time. This example shows how to use guestfish to remove references to the old MAC address by deleting the /etc/udev/rules.d/70-persistent-net.rules file and removing the HWADDR line from the /etc/sysconfig/network-scripts/ifcfg-eth0 file." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:52(para) msgid "Assume that you have a CentOS qcow2 image called centos63_desktop.img. Mount the image in read-write mode as root, as follows:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:66(para) msgid "This starts a guestfish session. Note that the guestfish prompt looks like a fish: > <fs>." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:69(para) msgid "We must first use the command at the guestfish prompt before we can do anything else. This will launch a virtual machine, which will be used to perform all of the file manipulations. We can now view the file systems in the image using the command:We need to mount the logical volume that contains the root partition: " msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:83(para) msgid "Next, we want to delete a file. We can use the guestfish command, which works the same way it does in a traditional shell." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:87(para) msgid "We want to edit the ifcfg-eth0 file to remove the HWADDR line. The command will copy the file to the host, invoke your editor, and then copy the file back. " msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:94(para) msgid "If you want to modify this image to load the 8021q kernel at boot time, you must create an executable script in the /etc/sysconfig/modules/ directory. You can use the guestfish command to create an empty file, the command to edit it, and the command to make it executable. We add the following line to the file and save it:Then we set to executable: " msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:108(para) msgid "We're done, so we can exit using the command:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:113(title) msgid "Go further with guestfish" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:114(para) msgid "There is an enormous amount of functionality in guestfish and a full treatment is beyond the scope of this document. Instead, we recommend that you read the guestfs-recipes documentation page for a sense of what is possible with these tools." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:124(title) msgid "guestmount" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:125(para) msgid "For some types of changes, you may find it easier to mount the image's file system directly in the guest. The program, also from the libguestfs project, allows you to do so." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:129(para) msgid "For example, to mount the root partition from our centos63_desktop.qcow2 image to /mnt, we can do:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:135(para) msgid "If we didn't know in advance what the mount point is in the guest, we could use the -i(inspect) flag to tell guestmount to automatically determine what mount point to use:Once mounted, we could do things like list the installed packages using rpm: Once done, we unmount:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:147(title) msgid "virt-* tools" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:152(para) msgid "virt-edit for editing a file inside of an image." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:158(para) msgid "virt-df for displaying free space inside of an image." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:164(para) msgid "virt-resize for resizing an image." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:170(para) msgid "virt-sysprep for preparing an image for distribution (for example, delete SSH host keys, remove MAC address info, or remove user accounts)." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:178(para) msgid "virt-sparsify for making an image sparse" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:184(para) msgid "virt-p2v for converting a physical machine to an image that runs on KVM" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:190(para) msgid "virt-v2v for converting Xen and VMware images to KVM images" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:148(para) msgid "The libguestfs project has a number of other useful tools, including:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:197(title) msgid "Modify a single file inside of an image" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:198(para) msgid "This example shows how to use to modify a file. The command can take either a filename as an argument with the -a flag, or a domain name as an argument with the -d flag. The following examples shows how to use this to modify the /etc/shadow file in instance with libvirt domain name instance-000000e1 that is currently running:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:215(title) msgid "Resize an image" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:216(para) msgid "Here's a simple of example of how to use to resize an image. Assume we have a 16GB Windows image in qcow2 format that we want to resize to 50GB. First, we use to identify the partitions:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:228(para) msgid "In this case, it's the /dev/sda2 partition that we want to resize. We create a new qcow2 image and use the command to write a resized copy of the original into the new image: " msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:262(title) msgid "Loop devices, kpartx, network block devices" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:266(para) msgid "Mounting untrusted guest images using the tools described in this section is a security risk, always use libguestfs tools such as guestfish and guestmount if you have access to them. See A reminder why you should never mount guest disk images on the host OS by Daniel Berrangé for more details." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:263(para) msgid "If you don't have access to libguestfs, you can mount image file systems directly in the host using loop devices, kpartx, and network block devices." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:276(title) msgid "Mount a raw image (without LVM)" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:277(para) msgid "If you have a raw virtual machine image that is not using LVM to manage its partitions. First, use the command to find an unused loop device. " msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:283(para) msgid "In this example, /dev/loop0 is free. Associate a loop device with the raw image:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:286(para) msgid "If the image only has a single partition, you can mount the loop device directly:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:289(para) msgid "If the image has multiple partitions, use to expose the partitions as separate devices (for example, /dev/mapper/loop0p1), then mount the partition that corresponds to the root file system:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:295(para) msgid "If the image has, say three partitions (/boot, /, swap), there should be one new device created per partition:To mount the second partition, as root:Once you're done, to clean up:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:310(title) msgid "Mount a raw image (with LVM)" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:311(para) msgid "If your partitions are managed with LVM, use losetup and kpartx as in the previous example to expose the partitions to the host:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:318(para) msgid "Next, you need to use the command to identify the LVM volume groups and then to expose the volumes as devices:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:328(para) msgid "Clean up when you're done:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:335(title) msgid "Mount a qcow2 image (without LVM)" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:336(para) msgid "You need the nbd (network block device) kernel module loaded to mount qcow2 images. This will load it with support for 16 block devices, which is fine for our purposes. As root:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:341(para) msgid "Assuming the first block device (/dev/nbd0) is not currently in use, we can expose the disk partitions using the and commands. As root:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:348(para) msgid "If the image has, say three partitions (/boot, /, swap), there should be one new device created for each partition:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:357(para) msgid "If the network block device you selected was already in use, the initial command will fail silently, and the /dev/nbd3p{1,2,3} device files will not be created." msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:364(para) msgid "If the image partitions are not managed with LVM, they can be mounted directly:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:368(para) msgid "When you're done, clean up:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:373(title) msgid "Mount a qcow2 image (with LVM)" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:374(para) msgid "If the image partitions are managed with LVM, after you use and , you must use and in order to expose the LVM partitions as devices that can be mounted:" msgstr "" #: ./doc/image-guide/ch_modifying_images.xml:388(para) msgid "When you're done, clean up:" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_freebsd-example.xml:159(None) msgid "@@image: 'figures/freebsd-partitions.png'; md5=47dbba18dda83b095f370a71e1dc3413" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:11(title) msgid "Example: FreeBSD image" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:12(para) msgid "This example creates a minimal FreeBSD image that is compatible with OpenStack and bsd-cloudinit. The bsd-cloudinit program is independently maintained and in active development. The best source of information on the current state of the project is at http://pellaeon.github.io/bsd-cloudinit." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:20(para) msgid "KVM with virtio drivers is used as the virtualization platform because that is the most widely used among OpenStack operators. If you use a different platform for your cloud virtualization, use that same platform in the image creation step." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:24(para) msgid "This example shows how to create a FreeBSD 10 image. To create a FreeBSD 9.2 image, follow these steps with the noted differences." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:28(title) msgid "To create a FreeBSD image" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:30(para) msgid "Make a virtual drive:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:32(para) msgid "The minimum supported disk size for FreeBSD is 1GB. Because the goal is to make the smallest possible base image, the example uses that minimum size. This size is sufficient to include the optional doc, games, and lib32 collections. To include the ports collection, add another 1GB. To include src, add 512MB." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:42(para) msgid "Get the installer ISO:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:48(para) msgid "Launch a VM on your local workstation. Use the same hypervisor, virtual disk, and virtual network drivers as you use in your production environment." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:51(para) msgid "The following command uses the minimum amount of RAM, which is 128MB:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:56(para) msgid "You can specify up to 1GB additional RAM to make the installation process run faster." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:58(para) msgid "This VM must also have Internet access to download packages." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:61(para) msgid "By using the same hypervisor, you can ensure that you emulate the same devices that exist in production. However, if you use full hardware virtualization instead of paravirtualization, you do not need to use the same hypervisor; you must use the same type of virtualized hardware because FreeBSD device names are related to their drivers. If the name of your root block device or primary network interface in production differs than the names used during image creation, errors can occur." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:71(para) msgid "You now have a VM that boots from the downloaded install ISO and is connected to the blank virtual disk that you created previously." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:76(para) msgid "To install the operating system, complete the following steps inside the VM:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:80(para) msgid "When prompted, choose to run the ISO in Install mode." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:84(para) msgid "Accept the default keymap or select an appropriate mapping for your needs." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:88(para) msgid "Provide a host name for your image. If you use bsd-cloudinit, it overrides this value with the name provided by OpenStack when an instance boots from this image." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:94(para) msgid "When prompted about the optional doc, games, lib32, ports, and src system components, select only those that you need. It is possible to have a fully functional installation without selecting additional components selected. As noted previously, a minimal system with a 1GB virtual disk supports doc, games, and lib32 inclusive. The ports collection requires at least 1GB additional space and possibly more if you plan to install many ports. The src collection requires an additional 512MB." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:110(para) msgid "Configure the primary network interface to use DHCP. In this example, which uses a virtio network device, this interface is named vtnet0." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:115(para) msgid "Accept the default network mirror." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:118(para) msgid "Set up disk partitioning." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:119(para) msgid "Disk partitioning is a critical element of the image creation process and the auto-generated default partitioning scheme does not work with bsd-cloudinit at this time." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:124(para) msgid "Because the default does not work, you must select manual partitioning. The partition editor should list only one block device. If you use virtio for the disk device driver, it is named vtbd0. Select this device and run the command three times:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:132(para) msgid "Select Create to create a partition table. This action is the default when no partition table exists. Then, select GPT GUID Partition Table from the list. This choice is the default." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:141(para) msgid "First partition: A 64kB freebsd-boot partition with no mount point." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:146(para) msgid "Second partition: A freebsd-ufs partition with a mount point of / with all remaining free space." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:139(para) msgid "Create two partitions:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:154(para) msgid "The following figure shows a completed partition table with a 1GB virtual disk:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:162(para) msgid "Select Finish and then Commit to commit your changes." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:166(para) msgid "If you modify this example, the root partition, which is mounted on /, must be the last partition on the drive so that it can expand at run time to the disk size that your instance type provides. Also note that bsd-cloudinit currently has a hard-coded assumption that this is the second partition." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:178(para) msgid "Select a root password." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:181(para) msgid "Select the CMOS time zone." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:182(para) msgid "The virtualized CMOS almost always stores its time in UTC, so unless you know otherwise, select UTC." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:186(para) msgid "Select the time zone appropriate to your environment." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:190(para) msgid "From the list of services to start on boot, you must select ssh. Optionally, select other services." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:195(para) msgid "Optionally, add users." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:196(para) msgid "You do not need to add users at this time. The bsd-cloudinit program adds a freebsd user account if one does not exist. The ssh keys for this user are associated with OpenStack. To customize this user account, you can create it now. For example, you might want to customize the shell for the user." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:205(title) msgid "Final config" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:206(para) msgid "This menu enables you to update previous settings. Check that the settings are correct, and click exit." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:211(para) msgid "After you exit, you can open a shell to complete manual configuration steps. Select Yes to make a few OpenStack-specific changes:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:216(para) msgid "Set up the console:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:218(para) msgid "This sets console output to go to the serial console, which is displayed by , and the video console for sites with VNC or Spice configured." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:224(para) msgid "Minimize boot delay:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:228(para) msgid "Download the latest bsd-cloudinit-installer. The download commands differ between FreeBSD 10.0 and 9.2 because of differences in how the command handles HTTPS URLs." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:233(para) msgid "In FreeBSD 10.0 the command verifies SSL peers by default, so you need to install the ca_root_nss package that contains certificate authority root certificates and tell where to find them. For FreeBSD 10.0 run these commands:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:242(para) msgid "FreeBSD 9.2 does not support peer-verification for https. For FreeBSD 9.2, run this command:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:248(para) msgid "Run the installer:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:250(para) msgid "The installer installs necessary prerequisites and downloads and installs the latest bsd-cloudinit." msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:255(para) msgid "Install sudo and configure the freebsd user to have passwordless access:" msgstr "" #: ./doc/image-guide/section_freebsd-example.xml:264(para) msgid "Power off the system:" msgstr "" #: ./doc/image-guide/ch_converting.xml:7(title) msgid "Converting between image formats" msgstr "" #: ./doc/image-guide/ch_converting.xml:8(para) msgid "Converting images from one format to another is generally straightforward." msgstr "" #: ./doc/image-guide/ch_converting.xml:10(title) msgid "qemu-img convert: raw, qcow2, VDI, VMDK" msgstr "" #: ./doc/image-guide/ch_converting.xml:11(para) msgid "The command can do conversion between multiple formats, including raw, qcow2, VDI (VirtualBox), VMDK (VMware) and VHD (Hyper-V)." msgstr "" #: ./doc/image-guide/ch_converting.xml:15(caption) msgid "qemu-img format strings" msgstr "" #: ./doc/image-guide/ch_converting.xml:19(th) msgid "Image format" msgstr "" #: ./doc/image-guide/ch_converting.xml:20(th) msgid "Argument to qemu-img" msgstr "" #: ./doc/image-guide/ch_converting.xml:25(td) ./doc/image-guide/ch_converting.xml:26(literal) msgid "raw" msgstr "" #: ./doc/image-guide/ch_converting.xml:29(td) ./doc/image-guide/ch_converting.xml:30(literal) ./doc/image-guide/ch_introduction.xml:33(term) msgid "qcow2" msgstr "" #: ./doc/image-guide/ch_converting.xml:33(td) msgid "VDI (VirtualBox)" msgstr "" #: ./doc/image-guide/ch_converting.xml:34(literal) msgid "vdi" msgstr "" #: ./doc/image-guide/ch_converting.xml:37(td) msgid "VMDK (VMware)" msgstr "" #: ./doc/image-guide/ch_converting.xml:38(literal) msgid "vmdk" msgstr "" #: ./doc/image-guide/ch_converting.xml:41(td) msgid "VHD (Hyper-V)" msgstr "" #: ./doc/image-guide/ch_converting.xml:42(literal) msgid "vpc" msgstr "" #: ./doc/image-guide/ch_converting.xml:46(para) msgid "This example will convert a raw image file named centos63.dsk to a qcow2 image file." msgstr "" #: ./doc/image-guide/ch_converting.xml:50(para) msgid "To convert from vmdk to raw, you would do: " msgstr "" #: ./doc/image-guide/ch_converting.xml:54(para) msgid "The -f format flag is optional. If omitted, qemu-img will try to infer the image format." msgstr "" #: ./doc/image-guide/ch_converting.xml:60(title) msgid "VBoxManage: VDI (VirtualBox) to raw" msgstr "" #: ./doc/image-guide/ch_converting.xml:61(para) msgid "If you've created a VDI image using VirtualBox, you can convert it to raw format using the command-line tool that ships with VirtualBox. On Mac OS X, VirtualBox stores images by default in the ~/VirtualBox VMs/ directory. The following example creates a raw image in the current directory from a VirtualBox VDI image." msgstr "" #: ./doc/image-guide/ch_introduction.xml:7(title) msgid "Introduction" msgstr "" #: ./doc/image-guide/ch_introduction.xml:8(para) msgid "An OpenStack Compute cloud is not very useful unless you have virtual machine images (which some people call \"virtual appliances\"). This guide describes how to obtain, create, and modify virtual machine images that are compatible with OpenStack." msgstr "" #: ./doc/image-guide/ch_introduction.xml:11(para) msgid "To keep things brief, we'll sometimes use the term \"image\" instead of \"virtual machine image\"." msgstr "" #: ./doc/image-guide/ch_introduction.xml:13(para) msgid "What is a virtual machine image?" msgstr "" #: ./doc/image-guide/ch_introduction.xml:14(para) msgid "A virtual machine image is a single file which contains a virtual disk that has a bootable operating system installed on it." msgstr "" #: ./doc/image-guide/ch_introduction.xml:16(para) msgid "Virtual machine images come in different formats, some of which are described below. In a later chapter, we'll describe how to convert between formats." msgstr "" #: ./doc/image-guide/ch_introduction.xml:20(term) msgid "Raw" msgstr "" #: ./doc/image-guide/ch_introduction.xml:27(para) msgid "We don't recommend creating raw images by dd'ing block device files, we discuss how to create raw images later." msgstr "" #: ./doc/image-guide/ch_introduction.xml:21(para) msgid "The \"raw\" image format is the simplest one, and is natively supported by both KVM and Xen hypervisors. You can think of a raw image as being the bit-equivalent of a block device file, created as if somebody had copied, say, /dev/sda to a file using the command. " msgstr "" #: ./doc/image-guide/ch_introduction.xml:38(para) msgid "Using sparse representation, so the image size is smaller" msgstr "" #: ./doc/image-guide/ch_introduction.xml:41(para) msgid "Support for snapshots" msgstr "" #: ./doc/image-guide/ch_introduction.xml:34(para) msgid "The qcow2 (QEMU copy-on-write version 2) format is commonly used with the KVM hypervisor. It has some additional features over the raw format, such as:" msgstr "" #: ./doc/image-guide/ch_introduction.xml:44(para) msgid "Because qcow2 is sparse, it's often faster to convert a raw image to qcow2 and upload it then to upload the raw file." msgstr "" #: ./doc/image-guide/ch_introduction.xml:48(para) msgid "Because raw images don't support snapshots, OpenStack Compute will automatically convert raw image files to qcow2 as needed." msgstr "" #: ./doc/image-guide/ch_introduction.xml:54(term) msgid "AMI/AKI/ARI" msgstr "" #: ./doc/image-guide/ch_introduction.xml:60(para) msgid "AMI (Amazon Machine Image):" msgstr "" #: ./doc/image-guide/ch_introduction.xml:61(para) msgid "This is a virtual machine image in raw format, as described above." msgstr "" #: ./doc/image-guide/ch_introduction.xml:65(para) msgid "AKI (Amazon Kernel Image)" msgstr "" #: ./doc/image-guide/ch_introduction.xml:66(para) msgid "A kernel file that the hypervisor will load initially to boot the image. For a Linux machine, this would be a vmlinuz file." msgstr "" #: ./doc/image-guide/ch_introduction.xml:73(para) msgid "ARI (Amazon Ramdisk Image)" msgstr "" #: ./doc/image-guide/ch_introduction.xml:74(para) msgid "An optional ramdisk file mounted at boot time. For a Linux machine, this would be an initrd file." msgstr "" #: ./doc/image-guide/ch_introduction.xml:55(para) msgid "The AMI/AKI/ARI format was the initial image format supported by Amazon EC2. The image consists of three files:" msgstr "" #: ./doc/image-guide/ch_introduction.xml:82(term) msgid "UEC tarball" msgstr "" #: ./doc/image-guide/ch_introduction.xml:85(para) msgid "Ubuntu Enterprise Cloud refers to a discontinued Eucalyptus-based Ubuntu cloud solution that has been replaced by the OpenStack-based Ubuntu Cloud Infrastructure." msgstr "" #: ./doc/image-guide/ch_introduction.xml:83(para) msgid "A UEC (Ubuntu Enterprise Cloud) tarball is a gzipped tarfile that contains an AMI file, AKI file, and ARI file." msgstr "" #: ./doc/image-guide/ch_introduction.xml:91(term) msgid "VMDK" msgstr "" #: ./doc/image-guide/ch_introduction.xml:92(para) msgid "VMware's ESXi hypervisor uses the VMDK (Virtual Machine Disk) format for images." msgstr "" #: ./doc/image-guide/ch_introduction.xml:97(term) msgid "VDI" msgstr "" #: ./doc/image-guide/ch_introduction.xml:98(para) msgid "VirtualBox uses the VDI (Virtual Disk Image) format for image files. None of the OpenStack Compute hypervisors support VDI directly, so you will need to convert these files to a different format to use them with OpenStack." msgstr "" #: ./doc/image-guide/ch_introduction.xml:105(term) msgid "VHD" msgstr "" #: ./doc/image-guide/ch_introduction.xml:106(para) msgid "Microsoft Hyper-V uses the VHD (Virtual Hard Disk) format for images." msgstr "" #: ./doc/image-guide/ch_introduction.xml:109(term) msgid "VHDX" msgstr "" #: ./doc/image-guide/ch_introduction.xml:110(para) msgid "The version of Hyper-V that ships with Microsoft Server 2012 uses the newer VHDX format, which has some additional features over VHD such as support for larger disk sizes and protection against data corruption during power failures." msgstr "" #: ./doc/image-guide/ch_introduction.xml:116(term) msgid "OVF" msgstr "" #: ./doc/image-guide/ch_introduction.xml:117(para) msgid "OVF (Open Virtualization Format) is a packaging format for virtual machines, defined by the Distributed Management Task Force (DMTF) standards group. An OVF package contains one or more image files, a .ovf XML metadata file that contains information about the virtual machine, and possibly other files as well." msgstr "" #: ./doc/image-guide/ch_introduction.xml:122(para) msgid "An OVF package can be distributed in different ways. For example, it could be distributed as a set of discrete files, or as a tar archive file with an .ova (open virtual appliance/application) extension." msgstr "" #: ./doc/image-guide/ch_introduction.xml:125(para) msgid "OpenStack Compute does not currently have support for OVF packages, so you will need to extract the image file(s) from an OVF package if you wish to use it with OpenStack." msgstr "" #: ./doc/image-guide/ch_introduction.xml:130(term) msgid "ISO" msgstr "" #: ./doc/image-guide/ch_introduction.xml:131(para) msgid "The ISO format is a disk image formatted with the read-only ISO 9660 (also known as ECMA-119) filesystem commonly used for CDs and DVDs. While we don't normally think of ISO as a virtual machine image format, since ISOs contain bootable filesystems with an installed operating system, you can treat them the same as you treat other virtual machine image files." msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_centos-example.xml:71(None) ./doc/image-guide/section_centos-example.xml:74(None) msgid "@@image: 'figures/centos-install.png'; md5=013b5be9e167ee27e674859ba4869d89" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_centos-example.xml:84(None) msgid "@@image: 'figures/centos-tcpip.png'; md5=fe0324d0d74368d1920c243fd72747fd" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_centos-example.xml:93(None) msgid "@@image: 'figures/install-method.png'; md5=1d60286d52f6b385a5d15ae042858893" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_centos-example.xml:106(None) msgid "@@image: 'figures/url-setup.png'; md5=b2f3b4a3552ad175575f5eb78e63dfd8" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_centos-example.xml:157(None) msgid "@@image: 'figures/centos-complete.png'; md5=1b2c6a2e45a9ae52a5f6338ae74b1e54" msgstr "" #: ./doc/image-guide/section_centos-example.xml:4(title) msgid "Example: CentOS image" msgstr "" #: ./doc/image-guide/section_centos-example.xml:5(para) msgid "This example shows you how to install a CentOS image and focuses mainly on CentOS 6.4. Because the CentOS installation process might differ across versions, the installation steps might differ if you use a different version of CentOS." msgstr "" #: ./doc/image-guide/section_centos-example.xml:9(title) msgid "Download a CentOS install ISO" msgstr "" #: ./doc/image-guide/section_centos-example.xml:11(para) msgid "Navigate to the CentOS mirrors page." msgstr "" #: ./doc/image-guide/section_centos-example.xml:16(para) msgid "Click one of the HTTP links in the right-hand column next to one of the mirrors." msgstr "" #: ./doc/image-guide/section_centos-example.xml:20(para) msgid "Click the folder link of the CentOS version that you want to use. For example, 6.4/." msgstr "" #: ./doc/image-guide/section_centos-example.xml:24(para) msgid "Click the isos/ folder link." msgstr "" #: ./doc/image-guide/section_centos-example.xml:27(para) msgid "Click the x86_64/ folder link for 64-bit images." msgstr "" #: ./doc/image-guide/section_centos-example.xml:30(para) msgid "Click the netinstall ISO image that you want to download. For example, CentOS-6.4-x86_64-netinstall.iso is a good choice because it is a smaller image that downloads missing packages from the Internet during installation." msgstr "" #: ./doc/image-guide/section_centos-example.xml:37(title) msgid "Start the installation process" msgstr "" #: ./doc/image-guide/section_centos-example.xml:38(para) msgid "Start the installation process using either or as described in the previous section. If you use , do not forget to connect your VNC client to the virtual machine." msgstr "" #: ./doc/image-guide/section_centos-example.xml:42(para) msgid "Assume that:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:45(para) msgid "The name of your virtual machine image is centos-6.4; you need this name when you use commands to manipulate the state of the image." msgstr "" #: ./doc/image-guide/section_centos-example.xml:50(para) msgid "You saved the netinstall ISO image to the /data/isos directory." msgstr "" #: ./doc/image-guide/section_centos-example.xml:53(para) msgid "If you use , the commands should look something like this:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:65(title) ./doc/image-guide/section_centos-example.xml:146(title) msgid "Step through the installation" msgstr "" #: ./doc/image-guide/section_centos-example.xml:66(para) msgid "At the initial Installer boot menu, choose the Install or upgrade an existing system option. Step through the installation prompts. Accept the defaults." msgstr "" #: ./doc/image-guide/section_centos-example.xml:79(title) msgid "Configure TCP/IP" msgstr "" #: ./doc/image-guide/section_centos-example.xml:80(para) msgid "The default TCP/IP settings are fine. In particular, ensure that Enable IPv4 support is enabled with DHCP, which is the default." msgstr "" #: ./doc/image-guide/section_centos-example.xml:89(title) msgid "Point the installer to a CentOS web server" msgstr "" #: ./doc/image-guide/section_centos-example.xml:90(para) msgid "Choose URL as the installation method." msgstr "" #: ./doc/image-guide/section_centos-example.xml:96(para) msgid "Depending on the version of CentOS, the net installer requires that the user specify either a URL or the web site and a CentOS directory that corresponds to one of the CentOS mirrors. If the installer asks for a single URL, a valid URL might be http://mirror.umd.edu/centos/6/os/x86_64." msgstr "" #: ./doc/image-guide/section_centos-example.xml:101(para) msgid "Consider using other mirrors as an alternative to mirror.umd.edu." msgstr "" #: ./doc/image-guide/section_centos-example.xml:109(para) msgid "If the installer asks for web site name and CentOS directory separately, you might enter:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:113(para) msgid "Web site name: mirror.umd.edu" msgstr "" #: ./doc/image-guide/section_centos-example.xml:116(para) msgid "CentOS directory: centos/6/os/x86_64" msgstr "" #: ./doc/image-guide/section_centos-example.xml:119(para) msgid "See CentOS mirror page to get a full list of mirrors, click on the \"HTTP\" link of a mirror to retrieve the web site name of a mirror." msgstr "" #: ./doc/image-guide/section_centos-example.xml:124(title) msgid "Storage devices" msgstr "" #: ./doc/image-guide/section_centos-example.xml:125(para) msgid "If prompted about which type of devices your installation uses, choose Basic Storage Devices." msgstr "" #: ./doc/image-guide/section_centos-example.xml:129(title) ./doc/image-guide/section_ubuntu-example.xml:47(title) msgid "Hostname" msgstr "" #: ./doc/image-guide/section_centos-example.xml:130(para) msgid "The installer may ask you to choose a host name. The default (localhost.localdomain) is fine. You install the cloud-init package later, which sets the host name on boot when a new instance is provisioned using this image." msgstr "" #: ./doc/image-guide/section_centos-example.xml:136(title) ./doc/image-guide/section_ubuntu-example.xml:64(title) msgid "Partition the disks" msgstr "" #: ./doc/image-guide/section_centos-example.xml:137(para) msgid "There are different options for partitioning the disks. The default installation uses LVM partitions, and creates three partitions (/boot, /, swap), which works fine. Alternatively, you might want to create a single ext4 partition that is mounted to \"/\", which also works fine." msgstr "" #: ./doc/image-guide/section_centos-example.xml:142(para) msgid "If unsure, use the default partition scheme for the installer because no scheme is better than another." msgstr "" #: ./doc/image-guide/section_centos-example.xml:147(para) msgid "Step through the installation, using the default options. The simplest thing to do is to choose the \"Basic Server\" install (may be called \"Server\" install on older versions of CentOS), which installs an SSH server." msgstr "" #: ./doc/image-guide/section_centos-example.xml:152(title) ./doc/image-guide/section_ubuntu-example.xml:101(title) msgid "Detach the CD-ROM and reboot" msgstr "" #: ./doc/image-guide/section_centos-example.xml:153(para) msgid "After the install completes, the Congratulations, your CentOS installation is complete screen appears." msgstr "" #: ./doc/image-guide/section_centos-example.xml:163(replaceable) ./doc/image-guide/section_centos-example.xml:322(replaceable) ./doc/image-guide/section_ubuntu-example.xml:117(replaceable) ./doc/image-guide/section_ubuntu-example.xml:196(replaceable) msgid "vm-image" msgstr "" #: ./doc/image-guide/section_centos-example.xml:160(para) msgid "To eject a disk by using the command, libvirt requires that you attach an empty disk at the same target that the CDROM was previously attached, which should be hdc. You can confirm the appropriate target using the command." msgstr "" #: ./doc/image-guide/section_centos-example.xml:177(para) msgid "Run the following commands from the host to eject the disk and reboot using virsh, as root. If you are using virt-manager, the commands below will work, but you can also use the GUI to detach and reboot it by manually stopping and starting." msgstr "" #: ./doc/image-guide/section_centos-example.xml:185(title) ./doc/image-guide/section_ubuntu-example.xml:146(title) msgid "Log in to newly created image" msgstr "" #: ./doc/image-guide/section_centos-example.xml:186(para) msgid "When you boot for the first time after installation, you might be prompted about authentication tools. Select Exit. Then, log in as root." msgstr "" #: ./doc/image-guide/section_centos-example.xml:190(title) msgid "Install the ACPI service" msgstr "" #: ./doc/image-guide/section_centos-example.xml:191(para) msgid "To enable the hypervisor to reboot or shutdown an instance, you must install and run the acpid service on the guest system." msgstr "" #: ./doc/image-guide/section_centos-example.xml:195(para) msgid "Run the following commands inside the CentOS guest to install the ACPI service and configure it to start when the system boots:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:202(title) msgid "Configure to fetch metadata" msgstr "" #: ./doc/image-guide/section_centos-example.xml:203(para) msgid "An instance must interact with the metadata service to perform several tasks on start up. For example, the instance must get the ssh public key and run the user data script. To ensure that the instance performs these tasks, use one of these methods:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:208(para) msgid "Install a cloud-init RPM, which is a port of the Ubuntu cloud-init package. This is the recommended approach." msgstr "" #: ./doc/image-guide/section_centos-example.xml:213(para) msgid "Modify /etc/rc.local to fetch desired information from the metadata service, as described in the next section." msgstr "" #: ./doc/image-guide/section_centos-example.xml:219(title) msgid "Use cloud-init to fetch the public key" msgstr "" #: ./doc/image-guide/section_centos-example.xml:220(para) msgid "The cloud-init package automatically fetches the public key from the metadata server and places the key in an account. You can install cloud-init inside the CentOS guest by adding the EPEL repo:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:226(para) msgid "The account varies by distribution. On Ubuntu-based virtual machines, the account is called ubuntu. On Fedora-based virtual machines, the account is called ec2-user." msgstr "" #: ./doc/image-guide/section_centos-example.xml:229(para) msgid "You can change the name of the account used by cloud-init by editing the /etc/cloud/cloud.cfg file and adding a line with a different user. For example, to configure cloud-init to put the key in an account named admin, add this line to the configuration file:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:237(title) msgid "Write a script to fetch the public key (if no cloud-init)" msgstr "" #: ./doc/image-guide/section_centos-example.xml:238(para) msgid "If you are not able to install the cloud-init package in your image, to fetch the ssh public key and add it to the root account, edit the /etc/rc.local file and add the following lines before the line touch /var/lock/subsys/local:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:266(para) msgid "Some VNC clients replace the colon (:) with a semicolon (;) and the underscore (_) with a hyphen (-). Make sure to specify http: and not http;. Make sure to specify authorized_keys and not authorized-keys." msgstr "" #: ./doc/image-guide/section_centos-example.xml:274(para) msgid "The previous script only gets the ssh public key from the metadata server. It does not get user data, which is optional data that can be passed by the user when requesting a new instance. User data is often used to run a custom script when an instance boots." msgstr "" #: ./doc/image-guide/section_centos-example.xml:278(para) msgid "As the OpenStack metadata service is compatible with version 2009-04-04 of the Amazon EC2 metadata service, consult the Amazon EC2 documentation on Using Instance Metadata for details on how to get user data." msgstr "" #: ./doc/image-guide/section_centos-example.xml:285(title) msgid "Disable the zeroconf route" msgstr "" #: ./doc/image-guide/section_centos-example.xml:286(para) msgid "For the instance to access the metadata service, you must disable the default zeroconf route:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:291(title) msgid "Configure console" msgstr "" #: ./doc/image-guide/section_centos-example.xml:292(para) msgid "For the command to work properly on CentOS 6.x, you might need to add the following lines to the /boot/grub/menu.lst file:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:298(replaceable) msgid "..." msgstr "" #: ./doc/image-guide/section_centos-example.xml:301(title) ./doc/image-guide/section_ubuntu-example.xml:176(title) msgid "Shut down the instance" msgstr "" #: ./doc/image-guide/section_centos-example.xml:302(para) ./doc/image-guide/section_ubuntu-example.xml:177(para) msgid "From inside the instance, as root:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:306(title) ./doc/image-guide/section_ubuntu-example.xml:181(title) msgid "Clean up (remove MAC address details)" msgstr "" #: ./doc/image-guide/section_centos-example.xml:307(para) msgid "The operating system records the MAC address of the virtual Ethernet card in locations such as /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/udev/rules.d/70-persistent-net.rules during the instance process. However, each time the image boots up, the virtual Ethernet card will have a different MAC address, so this information must be deleted from the configuration file." msgstr "" #: ./doc/image-guide/section_centos-example.xml:313(para) ./doc/image-guide/section_ubuntu-example.xml:187(para) msgid "There is a utility called , that performs various cleanup tasks such as removing the MAC address references. It will clean up a virtual machine image in place:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:319(title) ./doc/image-guide/section_ubuntu-example.xml:193(title) msgid "Undefine the libvirt domain" msgstr "" #: ./doc/image-guide/section_centos-example.xml:320(para) msgid "Now that you can upload the image to the Image Service, you no longer need to have this virtual machine image managed by libvirt. Use the command to inform libvirt:" msgstr "" #: ./doc/image-guide/section_centos-example.xml:326(title) ./doc/image-guide/section_ubuntu-example.xml:200(title) msgid "Image is complete" msgstr "" #: ./doc/image-guide/section_centos-example.xml:327(para) msgid "The underlying image file that you created with is ready to be uploaded. For example, you can upload the /tmp/centos-6.4.qcow2 image to the Image Service." msgstr "" #: ./doc/image-guide/bk-imageguide.xml:8(title) msgid "OpenStack Virtual Machine Image Guide" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:10(titleabbrev) msgid "VM Image Guide" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:18(orgname) ./doc/image-guide/bk-imageguide.xml:24(holder) msgid "OpenStack Foundation" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:22(year) msgid "2013" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:23(year) msgid "2014" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:26(releaseinfo) msgid "current" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:27(productname) msgid "OpenStack" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:31(remark) msgid "Remaining licensing details are filled in by the template." msgstr "" #: ./doc/image-guide/bk-imageguide.xml:36(para) msgid "This guide describes how to obtain, create, and modify virtual machine images that are compatible with OpenStack." msgstr "" #: ./doc/image-guide/bk-imageguide.xml:43(date) msgid "2014-04-17" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:47(para) msgid "Minor revisions for Icehouse - moved property listing into Command-Line Interface Reference and added a note about Windows time zones." msgstr "" #: ./doc/image-guide/bk-imageguide.xml:57(date) msgid "2013-10-25" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:61(para) msgid "Adds information about image formats, properties." msgstr "" #: ./doc/image-guide/bk-imageguide.xml:68(date) msgid "2013-10-17" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:72(para) msgid "Havana release." msgstr "" #: ./doc/image-guide/bk-imageguide.xml:78(date) msgid "2013-06-04" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:82(para) msgid "Updated title for consistency." msgstr "" #: ./doc/image-guide/bk-imageguide.xml:89(date) msgid "2013-05-28" msgstr "" #: ./doc/image-guide/bk-imageguide.xml:93(para) msgid "Initial release of this guide." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:7(title) msgid "Tool support for image creation" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:9(para) msgid "There are several tools that are designed to automate image creation." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:12(title) msgid "Oz" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:23(para) msgid "As of this writing, there are no Oz packages for Ubuntu, so you will need to either install from source or build your own .deb file." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:13(para) msgid "Oz is a command-line tool that automates the process of creating a virtual machine image file. Oz is a Python app that interacts with KVM to step through the process of installing a virtual machine. It uses a predefined set of kickstart (Red Hat-based systems) and preseed files (Debian-based systems) for operating systems that it supports, and it can also be used to create Microsoft Windows images. On Fedora, install Oz with yum:" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:27(para) msgid "A full treatment of Oz is beyond the scope of this document, but we will provide an example. You can find additional examples of Oz template files on GitHub at rackerjoe/oz-image-build/templates. Here's how you would create a CentOS 6.4 image with Oz." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:34(para) msgid "Create a template file (we'll call it centos64.tdl) with the following contents. The only entry you will need to change is the <rootpw> contents." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:72(para) msgid "This Oz template specifies where to download the Centos 6.4 install ISO. Oz will use the version information to identify which kickstart file to use. In this case, it will be RHEL6.auto. It adds EPEL as a repository and install the epel-release, cloud-utils, and cloud-init packages, as specified in the packages section of the file." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:83(para) msgid "After Oz does the initial OS install using the kickstart file, it customizes the image by doing an update. It also removes any reference to the eth0 device that libvirt creates while Oz does the customizing, as specified in the command section of the XML file." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:89(para) msgid "To run this, do, as root:" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:92(para) msgid "The -d3 flag tells Oz to show status information as it runs." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:96(para) msgid "The -u tells Oz to do the customization (install extra packages, run the commands) once it does the initial install." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:102(para) msgid "The -x <filename> flag tells Oz what filename to use to write out a libvirt XML file (otherwise it will default to something like centos64Apr_03_2013-12:39:42)." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:90(para) msgid "If you leave out the -u flag, or you want to edit the file to do additional customizations, you can use the command, using the libvirt XML file that creates. For example: Oz will invoke libvirt to boot the image inside of KVM, then Oz will ssh into the instance and perform the customizations." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:120(title) msgid "VMBuilder" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:121(para) msgid "VMBuilder (Virtual Machine Builder) is a command-line tool that creates virtual machine images for different hypervisors. The version of VMBuilder that ships with Ubuntu can only create Ubuntu virtual machine guests. The version of VMBuilder that ships with Debian can create Ubuntu and Debian virtual machine guests." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:128(para) msgid "The Ubuntu Server Guide has documentation on how to use VMBuilder to create an Ubuntu image." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:135(title) msgid "BoxGrinder" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:136(para) msgid "BoxGrinder is another tool for creating virtual machine images, which it calls appliances. BoxGrinder can create Fedora, Red Hat Enterprise Linux, or CentOS images. BoxGrinder is currently only supported on Fedora." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:145(title) msgid "VeeWee" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:146(para) msgid " VeeWee is often used to build Vagrant boxes, but it can also be used to build KVM images." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:152(title) msgid "Packer" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:153(para) msgid " Packer is a tool for creating machine images for multiple platforms from a single source configuration." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:159(title) msgid "imagefactory" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:160(para) msgid "imagefactory is a newer tool designed to automate the building, converting, and uploading images to different cloud providers. It uses Oz as its back-end and includes support for OpenStack-based clouds." msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:167(title) msgid "SUSE Studio" msgstr "" #: ./doc/image-guide/ch_creating_images_automatically.xml:168(para) msgid "SUSE Studio is a web application for building and testing software applications in a web browser. It supports the creation of physical, virtual or cloud-based applications and includes support for building images for OpenStack based clouds using SUSE Linux Enterprise and openSUSE as distributions." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:7(title) msgid "Get images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:9(para) msgid "The simplest way to obtain a virtual machine image that works with OpenStack is to download one that someone else has already created." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:12(title) msgid "CirrOS (test) images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:13(para) msgid "CirrOS is a minimal Linux distribution that was designed for use as a test image on clouds such as OpenStack Compute. You can download a CirrOS image in various formats from the CirrOS Launchpad download page." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:22(para) msgid "In a CirrOS image, the login account is cirros. The password is cubswin:)" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:17(para) msgid "If your deployment uses QEMU or KVM, we recommend using the images in qcow2 format. The most recent 64-bit qcow2 image as of this writing is cirros-0.3.2-x86_64-disk.img" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:28(title) msgid "Official Ubuntu images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:29(para) msgid "Canonical maintains an official set of Ubuntu-based images." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:31(para) msgid "Images are arranged by Ubuntu release, and by image release date, with \"current\" being the most recent. For example, the page that contains the most recently built image for Ubuntu 14.04 \"Trusty Tahr\" is http://cloud-images.ubuntu.com/trusty/current/. Scroll to the bottom of the page for links to images that can be downloaded directly." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:41(para) msgid "In an Ubuntu cloud image, the login account is ubuntu." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:37(para) msgid "If your deployment uses QEMU or KVM, we recommend using the images in qcow2 format. The most recent version of the 64-bit QCOW2 image for Ubuntu 14.04 is trusty-server-cloudimg-amd64-disk1.img." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:46(title) msgid "Official Red Hat Enterprise Linux images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:47(para) msgid "Red Hat maintains official Red Hat Enterprise Linux cloud images. A valid Red Hat Enterprise Linux subscription is required to download these images:" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:56(link) msgid "Red Hat Enterprise Linux 7 KVM Guest Image" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:62(link) msgid "Red Hat Enterprise Linux 6 KVM Guest Image" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:67(para) msgid "In a RHEL image, the login account is cloud-user." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:73(title) msgid "Official Fedora images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:80(para) msgid "In a Fedora image, the login account is fedora." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:74(para) msgid "The Fedora project maintains a list of official cloud images at . The images include the cloud-init utility to support key and user data injection. The default user name is fedora. " msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:84(title) msgid "Official openSUSE and SLES images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:85(para) msgid "SUSE does not provide openSUSE or SUSE Linux Enterprise Server (SLES) images for direct download. Instead, they provide a web-based tool called SUSE Studio that you can use to build openSUSE and SLES images." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:91(para) msgid "For example, Christian Berendt used openSUSE to create a test openSUSE 12.3 image." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:96(title) msgid "Official images from other Linux distributions" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:97(para) msgid "As of this writing, we are not aware of other distributions that provide images for download." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:100(title) msgid "Rackspace Cloud Builders (multiple distros) images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:102(para) msgid "Rackspace Cloud Builders maintains a list of pre-built images from various distributions (Red Hat, CentOS, Fedora, Ubuntu). Links to these images can be found at rackerjoe/oz-image-build on GitHub." msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:108(title) msgid "Microsoft Windows images" msgstr "" #: ./doc/image-guide/ch_obtaining_images.xml:109(para) msgid "Cloudbase Solutions hosts an OpenStack Windows Server 2012 Standard Evaluation image that runs on Hyper-V, KVM, and XenServer/XCP." msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_ubuntu-example.xml:42(None) msgid "@@image: 'figures/ubuntu-install.png'; md5=a1f2ab707b7bc3122e20e6e0e4580887" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_ubuntu-example.xml:86(None) msgid "@@image: 'figures/ubuntu-software-selection.png'; md5=423be828f701345f7d20551a39f24271" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_ubuntu-example.xml:96(None) msgid "@@image: 'figures/ubuntu-grub.png'; md5=e46a46bd4044483da7cd07de2ff1ddbc" msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/section_ubuntu-example.xml:107(None) msgid "@@image: 'figures/ubuntu-finished.png'; md5=750be1d6a71b4186be563c049043e3a4" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:7(title) msgid "Example: Ubuntu image" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:8(para) msgid "This example installs a Ubuntu 14.04 (Trusty Tahr) image. To create an image for a different version of Ubuntu, follow these steps with the noted differences." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:11(title) msgid "Download an Ubuntu install ISO" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:12(para) msgid "Because the goal is to make the smallest possible base image, this example uses the network installation ISO. The Ubuntu 64-bit 14.04 network installer ISO is at http://archive.ubuntu.com/ubuntu/dists/trusty/main/installer-amd64/current/images/netboot/mini.iso." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:18(title) msgid "Start the install process" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:19(para) msgid "Start the installation process by using either or as described in the previous section. If you use , do not forget to connect your VNC client to the virtual machine." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:23(para) msgid "Assume that the name of your virtual machine image is ubuntu-14.04, which you need to know when you use commands to manipulate the state of the image." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:26(para) msgid "If you are using , the commands should look something like this:" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:37(title) ./doc/image-guide/section_ubuntu-example.xml:59(title) msgid "Step through the install" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:38(para) msgid "At the initial Installer boot menu, choose the Install option. Step through the install prompts, the defaults should be fine." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:48(para) msgid "The installer may ask you to choose a hostname. The default (ubuntu) is fine. We will install the cloud-init package later, which will set the hostname on boot when a new instance is provisioned using this image." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:55(title) msgid "Select a mirror" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:56(para) msgid "The default mirror proposed by the installer should be fine." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:60(para) msgid "Step through the install, using the default options. When prompted for a user name, the default (ubuntu) is fine." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:65(para) msgid "There are different options for partitioning the disks. The default installation will use LVM partitions, and will create three partitions (/boot, /, swap), and this will work fine. Alternatively, you may wish to create a single ext4 partition, mounted to \"/\", should also work fine." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:70(para) msgid "If unsure, we recommend you use the installer's default partition scheme, since there is no clear advantage to one scheme or another." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:74(title) msgid "Automatic updates" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:75(para) msgid "The Ubuntu installer will ask how you want to manage upgrades on your system. This option depends on your specific use case. If your virtual machine instances will be connected to the Internet, we recommend \"Install security updates automatically\"." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:80(title) msgid "Software selection: OpenSSH server" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:81(para) msgid "Choose \"OpenSSH server\"so that you will be able to SSH into the virtual machine when it launches inside of an OpenStack cloud." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:91(title) msgid "Install GRUB boot loader" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:92(para) msgid "Select \"Yes\" when asked about installing the GRUB boot loader to the master boot record." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:102(para) msgid "Select the defaults for all of the remaining options. When the installation is complete, you will be prompted to remove the CD-ROM." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:111(para) msgid "When you hit \"Continue\" the virtual machine will shut down, even though it says it will reboot." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:114(para) msgid "To eject a disk using , libvirt requires that you attach an empty disk at the same target that the CDROM was previously attached, which should be hdc. You can confirm the appropriate target using the command." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:131(para) msgid "Run the following commands in the host as root to start up the machine again as paused, eject the disk and resume. If you are using virt-manager, you may use the GUI instead." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:138(para) msgid "In the previous example, you paused the instance paused, ejected the disk, and unpaused the instance. In theory, you could have ejected the disk at the Installation complete screen. However, our testing indicates that the Ubuntu installer locks the drive so that it cannot be ejected at that point." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:147(para) msgid "When you boot for the first time after install, it may ask you about authentication tools, you can just choose 'Exit'. Then, log in as root using the root password you specified." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:152(title) msgid "Install cloud-init" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:153(para) msgid "The script starts on instance boot and will search for a metadata provider to fetch a public key from. The public key will be placed in the default user account for the image." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:156(para) msgid "Install the cloud-init package:" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:158(para) msgid "When building Ubuntu images must be explicitly configured for the metadata source in use. The OpenStack metadata server emulates the EC2 metadata service used by images in Amazon EC2." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:161(para) msgid "To set the metadata source to be used by the image run the command against the cloud-init package. When prompted select the EC2 data source:" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:166(para) msgid "The account varies by distribution. On Ubuntu-based virtual machines, the account is called \"ubuntu\". On Fedora-based virtual machines, the account is called \"ec2-user\"." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:169(para) msgid "You can change the name of the account used by cloud-init by editing the /etc/cloud/cloud.cfg file and adding a line with a different user. For example, to configure cloud-init to put the key in an account named \"admin\", edit the config file so it has the line:" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:182(para) msgid "The operating system records the MAC address of the virtual Ethernet card in locations such as /etc/udev/rules.d/70-persistent-net.rules during the instance process. However, each time the image boots up, the virtual Ethernet card will have a different MAC address, so this information must be deleted from the configuration file." msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:194(para) msgid "Now that the image is ready to be uploaded to the Image Service, you no longer need to have this virtual machine image managed by libvirt. Use the command to inform libvirt:" msgstr "" #: ./doc/image-guide/section_ubuntu-example.xml:201(para) msgid "The underlying image file that you created with , such as /tmp/trusty.qcow2, is now ready for uploading to the OpenStack Image Service." msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:7(title) msgid "Image metadata" msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:9(para) msgid "Image metadata can help end users determine the nature of an image, and is used by associated OpenStack components and drivers which interface with the Image Service." msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:11(para) msgid "Metadata can also determine the scheduling of hosts. If the option is set on an image, and Compute is configured so that the ImagePropertiesFilter scheduler filter is enabled (default), then the scheduler only considers compute hosts that satisfy that property." msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:15(para) msgid "Compute's ImagePropertiesFilter value is specified in the value in the /etc/nova/nova.conf file." msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:18(para) msgid "You can add metadata to Image Service images by using the option with the or command. More than one property can be specified. For example:" msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:22(replaceable) msgid "img-uuid" msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:23(para) msgid "Common image properties are also specified in the /etc/glance/schema-image.json file. For a complete list of valid property keys and values, refer to the OpenStack Command-Line Reference." msgstr "" #: ./doc/image-guide/section_glance-image-metadata.xml:28(para) msgid "All associated properties for an image can be displayed using the command. For example:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:11(title) msgid "OpenStack Linux image requirements" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:13(para) msgid "For a Linux-based image to have full functionality in an OpenStack Compute cloud, there are a few requirements. For some of these, you can fulfill the requirement by installing the cloud-init package. Read this section before you create your own image to be sure that the image supports the OpenStack features that you plan to use." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:23(para) msgid "Disk partitions and resize root partition on boot (cloud-init)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:27(para) ./doc/image-guide/ch_openstack_images.xml:235(title) msgid "No hard-coded MAC address information" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:30(para) msgid "SSH server running" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:33(para) ./doc/image-guide/ch_openstack_images.xml:279(title) msgid "Disable firewall" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:36(para) msgid "Access instance using ssh public key (cloud-init)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:40(para) msgid "Process user data and other metadata (cloud-init)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:44(para) msgid "Paravirtualized Xen support in Linux kernel (Xen hypervisor only with Linux kernel version < 3.0)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:50(title) msgid "Disk partitions and resize root partition on boot (cloud-init)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:52(para) msgid "When you create a Linux image, you must decide how to partition the disks. The choice of partition method can affect the resizing functionality, as described in the following sections." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:56(para) msgid "The size of the disk in a virtual machine image is determined when you initially create the image. However, OpenStack lets you launch instances with different size drives by specifying different flavors. For example, if your image was created with a 5GB disk, and you launch an instance with a flavor of m1.small. The resulting virtual machine instance has, by default, a primary disk size of 10GB. When the disk for an instance is resized up, zeros are just added to the end." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:66(para) msgid "Your image must be able to resize its partitions on boot to match the size requested by the user. Otherwise, after the instance boots, you must manually resize the partitions to access the additional storage to which you have access when the disk size associated with the flavor exceeds the disk size with which your image was created." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:74(title) msgid "Xen: 1 ext3/ext4 partition (no LVM, no /boot, no swap)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:76(para) msgid "If you use the OpenStack XenAPI driver, the Compute service automatically adjusts the partition and file system for your instance on boot. Automatic resize occurs if the following conditions are all true:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:83(para) msgid "auto_disk_config=True is set as a property on the image in the image registry." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:88(para) msgid "The disk on the image has only one partition." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:92(para) msgid "The file system on the one partition is ext3 or ext4." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:96(para) msgid "Therefore, if you use Xen, we recommend that when you create your images, you create a single ext3 or ext4 partition (not managed by LVM). Otherwise, read on." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:102(title) msgid "Non-Xen with cloud-init/cloud-tools: One ext3/ext4 partition (no LVM, no /boot, no swap)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:104(para) msgid "You must configure these items for your image:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:108(para) msgid "The partition table for the image describes the original size of the image" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:112(para) msgid "The file system for the image fills the original size of the image" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:116(para) msgid "Then, during the boot process, you must:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:119(para) msgid "Modify the partition table to make it aware of the additional space:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:123(para) msgid "If you do not use LVM, you must modify the table to extend the existing root partition to encompass this additional space." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:129(para) msgid "If you use LVM, you can add a new LVM entry to the partition table, create a new LVM physical volume, add it to the volume group, and extend the logical partition with the root volume." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:139(para) msgid "Resize the root volume file system." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:142(para) msgid "The simplest way to support this in your image is to install the cloud-utils package (contains the tool for extending partitions), the cloud-initramfs-growroot package (which supports resizing root partition on the first boot), and the cloud-init package into your image. With these installed, the image performs the root partition resize on boot. For example, in the /etc/rc.local file. These packages are in the Ubuntu and Debian package repository, as well as the EPEL repository (for Fedora/RHEL/CentOS/Scientific Linux guests)." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:161(para) msgid "If you cannot install cloud-initramfs-tools, Robert Plestenjak has a GitHub project called linux-rootfs-resize that contains scripts that update a ramdisk by using so that the image resizes properly on boot." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:169(para) msgid "If you can install the cloud-utils and cloud-init packages, we recommend that when you create your images, you create a single ext3 or ext4 partition (not managed by LVM)." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:176(title) msgid "Non-Xen without cloud-init/cloud-tools: LVM" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:179(para) msgid "If you cannot install cloud-init and cloud-tools inside of your guest, and you want to support resize, you must write a script that your image runs on boot to modify the partition table. In this case, we recommend using LVM to manage your partitions. Due to a limitation in the Linux kernel (as of this writing), you cannot modify a partition table of a raw disk that has partitions currently mounted, but you can do this for LVM." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:190(para) msgid "Detect if any additional space is available on the disk. For example, parse the output of ." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:197(para) msgid "Create a new LVM partition with the additional space. For example, ." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:205(replaceable) ./doc/image-guide/ch_openstack_images.xml:212(replaceable) ./doc/image-guide/ch_openstack_images.xml:219(replaceable) msgid "sda6" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:203(para) msgid "Create a new physical volume. For example, ." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:211(replaceable) msgid "vg00" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:208(para) msgid "Extend the volume group with this physical partition. For example, ." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:218(replaceable) ./doc/image-guide/ch_openstack_images.xml:224(replaceable) msgid "node-root" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:215(para) msgid "Extend the logical volume contained the root partition by the amount of space. For example, ." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:222(para) msgid "Resize the root file system. For example, ." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:188(para) msgid "Your script must do something like the following:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:227(para) msgid "You do not need a /boot partition unless your image is an older Linux distribution that requires that /boot is not managed by LVM." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:236(para) msgid "You must remove the network persistence rules in the image because they cause the network interface in the instance to come up as an interface other than eth0. This is because your image has a record of the MAC address of the network interface card when it was first installed, and this MAC address is different each time that the instance boots. You should alter the following files:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:246(para) msgid "Replace /etc/udev/rules.d/70-persistent-net.rules with an empty file (contains network persistence rules, including MAC address)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:252(para) msgid "Replace /lib/udev/rules.d/75-persistent-net-generator.rules with an empty file (this generates the file above)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:258(para) msgid "Remove the HWADDR line from /etc/sysconfig/network-scripts/ifcfg-eth0 on Fedora-based images" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:264(para) msgid "If you delete the network persistent rules files, you may get a udev kernel warning at boot time, which is why we recommend replacing them with empty files instead." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:271(title) msgid "Ensure ssh server runs" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:272(para) msgid "You must install an ssh server into the image and ensure that it starts up on boot, or you cannot connect to your instance by using ssh when it boots inside of OpenStack. This package is typically called openssh-server." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:280(para) msgid "In general, we recommend that you disable any firewalls inside of your image and use OpenStack security groups to restrict access to instances. The reason is that having a firewall installed on your instance can make it more difficult to troubleshoot networking issues if you cannot connect to your instance." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:288(title) msgid "Access instance by using ssh public key (cloud-init)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:290(para) msgid "The typical way that users access virtual machines running on OpenStack is to ssh using public key authentication. For this to work, your virtual machine image must be configured to download the ssh public key from the OpenStack metadata service or config drive, at boot time." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:297(title) msgid "Use cloud-init to fetch the public key" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:299(para) msgid "The cloud-init package automatically fetches the public key from the metadata server and places the key in an account. The account varies by distribution. On Ubuntu-based virtual machines, the account is called ubuntu. On Fedora-based virtual machines, the account is called ec2-user." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:307(para) msgid "You can change the name of the account used by cloud-init by editing the /etc/cloud/cloud.cfg file and adding a line with a different user. For example, to configure cloud-init to put the key in an account named admin, edit the configuration file so it has the line:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:317(title) msgid "Write a custom script to fetch the public key" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:319(para) msgid "If you are unable or unwilling to install cloud-init inside the guest, you can write a custom script to fetch the public key and add it to a user account." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:323(para) msgid "To fetch the ssh public key and add it to the root account, edit the /etc/rc.local file and add the following lines before the line “touch /var/lock/subsys/local”. This code fragment is taken from the rackerjoe oz-image-build CentOS 6 template." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:363(para) msgid "Some VNC clients replace : (colon) with ; (semicolon) and _ (underscore) with - (hyphen). If editing a file over a VNC session, make sure it's http: not http; and authorized_keys not authorized-keys." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:375(title) msgid "Process user data and other metadata (cloud-init)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:377(para) msgid "In addition to the ssh public key, an image might need additional information from OpenStack, such as user data that the user submitted when requesting the image. For example, you might want to set the host name of the instance when it is booted. Or, you might wish to configure your image so that it executes user data content as a script on boot." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:385(para) msgid "This information is accessible through the metadata service or the config drive. As the OpenStack metadata service is compatible with version 2009-04-04 of the Amazon EC2 metadata service, consult the Amazon EC2 documentation on Using Instance Metadata for details on how to retrieve user data." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:396(para) msgid "The easiest way to support this type of functionality is to install the cloud-init package into your image, which is configured by default to treat user data as an executable script, and sets the host name." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:403(title) msgid "Ensure image writes boot log to console" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:404(para) msgid "You must configure the image so that the kernel writes the boot log to the ttyS0 device. In particular, the console=ttyS0 argument must be passed to the kernel on boot." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:408(para) msgid "If your image uses grub2 as the boot loader, there should be a line in the grub configuration file. For example, /boot/grub/grub.cfg, which looks something like this:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:413(para) msgid "If console=ttyS0 does not appear, you must modify your grub configuration. In general, you should not update the grub.cfg directly, since it is automatically generated. Instead, you should edit /etc/default/grub and modify the value of the GRUB_CMDLINE_LINUX_DEFAULT variable: " msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:422(para) msgid "Next, update the grub configuration. On Debian-based operating-systems such as Ubuntu, run this command:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:425(para) msgid "On Fedora-based systems, such as RHEL and CentOS, and on openSUSE, run this command:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:430(title) msgid "Paravirtualized Xen support in the kernel (Xen hypervisor only)" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:432(para) msgid "Prior to Linux kernel version 3.0, the mainline branch of the Linux kernel did not have support paravirtualized Xen virtual machine instances (what Xen calls DomU guests). If you are running the Xen hypervisor with paravirtualization, and you want to create an image for an older Linux distribution that has a pre 3.0 kernel, you must ensure that the image boots a kernel that has been compiled with Xen support." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:442(title) msgid "Manage the image cache" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:443(para) msgid "Use options in nova.conf to control whether, and for how long, unused base images are stored in /var/lib/nova/instances/_base/. If you have configured live migration of instances, all your compute nodes share one common /var/lib/nova/instances/ directory." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:450(para) msgid "For information about libvirt images in OpenStack, see The life of an OpenStack libvirt image from Pádraig Brady." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:456(caption) msgid "Image cache management configuration options" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:462(td) msgid "Configuration option=Default value" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:463(td) msgid "(Type) Description" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:468(td) msgid "preallocate_images=none" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:469(para) msgid "(StrOpt) VM image preallocation mode:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:472(para) msgid "none. No storage provisioning occurs up front." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:477(para) msgid "space. Storage is fully allocated at instance start. The $instance_dir/ images are fallocated to immediately determine if enough space is available, and to possibly improve VM I/O performance due to ongoing allocation avoidance, and better locality of block allocations." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:494(td) msgid "remove_unused_base_images=True" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:495(td) msgid "(BoolOpt) Should unused base images be removed? When set to True, the interval at which base images are removed are set with the following two settings. If set to False base images are never removed by Compute." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:502(td) msgid "remove_unused_original_minimum_age_seconds=86400" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:503(td) msgid "(IntOpt) Unused unresized base images younger than this are not removed. Default is 86400 seconds, or 24 hours." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:508(td) msgid "remove_unused_resized_minimum_age_seconds=3600" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:509(td) msgid "(IntOpt) Unused resized base images younger than this are not removed. Default is 3600 seconds, or one hour." msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:515(para) msgid "To see how the settings affect the deletion of a running instance, check the directory where the images are stored:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:519(para) msgid "In the /var/log/compute/compute.log file, look for the identifier:" msgstr "" #: ./doc/image-guide/ch_openstack_images.xml:526(para) msgid "Because 86400 seconds (24 hours) is the default time for remove_unused_original_minimum_age_seconds, you can either wait for that time interval to see the base image removed, or set the value to a shorter time period in nova.conf. Restart all nova services after changing a setting in nova.conf." msgstr "" #. When image changes, this message will be marked fuzzy or untranslated for you. #. It doesn't matter what you translate it to: it's not used at all. #: ./doc/image-guide/ch_creating_images_manually.xml:83(None) msgid "@@image: 'figures/virt-manager-new.png'; md5=3528ebfc1b945b7dd80a34897b8fe98e" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:11(title) msgid "Create images manually" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:12(para) msgid "Creating a new image is a step done outside of your OpenStack installation. You create the new image manually on your own system and then upload the image to your cloud." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:16(para) msgid "To create a new image, you will need the installation CD or DVD ISO file for the guest operating system. You'll also need access to a virtualization tool. You can use KVM for this. Or, if you have a GUI desktop virtualization tool (such as, VMware Fusion and VirtualBox), you can use that instead and just convert the file to raw once you're done." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:22(para) msgid "When you create a new virtual machine image, you will need to connect to the graphical console of the hypervisor, which acts as the virtual machine's display and allows you to interact with the guest operating system's installer using your keyboard and mouse. KVM can expose the graphical console using the VNC (Virtual Network Computing) protocol or the newer SPICE protocol. We'll use the VNC protocol here, since you're more likely to be able to find a VNC client that works on your local desktop." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:35(title) msgid "Verify the libvirt default network is running" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:36(para) msgid "Before starting a virtual machine with libvirt, verify that the libvirt \"default\" network has been started. This network must be active for your virtual machine to be able to connect out to the network. Starting this network will create a Linux bridge (usually called virbr0), iptables rules, and a dnsmasq process that will serve as a DHCP server." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:43(para) msgid "To verify that the libvirt \"default\" network is enabled, use the command and verify that the \"default\" network is active:" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:50(para) msgid "If the network is not active, start it by doing:" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:54(title) msgid "Use the virt-manager X11 GUI" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:55(para) msgid "If you plan to create a virtual machine image on a machine that can run X11 applications, the simplest way to do so is to use the GUI, which is installable as the virt-manager package on both Fedora-based and Debian-based systems. This GUI has an embedded VNC client in it that will let you view and interact with the guest's graphical console." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:63(para) msgid "If you are building the image on a headless server, and you have an X server on your local machine, you can launch using ssh X11 forwarding to access the GUI. Since virt-manager interacts directly with libvirt, you typically need to be root to access it. If you can ssh directly in as root (or with a user that has permissions to interact with libvirt), do:" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:74(para) msgid "The -X flag passed to ssh will enable X11 forwarding over ssh. If this does not work, try replacing it with the -Y flag." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:71(para) msgid "If the account you use to ssh into your server does not have permissions to run libvirt, but has sudo privileges, do:" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:79(para) msgid "Click the \"New\" button at the top-left and step through the instructions. You will be shown a series of dialog boxes that will allow you to specify information about the virtual machine." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:88(para) msgid "When using qcow2 format images you should check the option 'customize before install', go to disk properties and explicitly select the qcow2 format. This ensures the virtual machine disk size will be correct." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:96(title) msgid "Use virt-install and connect by using a local VNC client" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:98(para) msgid "If you do not wish to use virt-manager (for example, you do not want to install the dependencies on your server, you don't have an X server running locally, the X11 forwarding over SSH isn't working), you can use the tool to boot the virtual machine through libvirt and connect to the graphical console from a VNC client installed on your local machine." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:106(para) msgid "Because VNC is a standard protocol, there are multiple clients available that implement the VNC spec, including TigerVNC (multiple platforms), TightVNC (multiple platforms), RealVNC (multiple platforms), Chicken (Mac OS X), Krde (KDE), and Vinagre (GNOME)." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:121(para) msgid "The following example shows how to use the command to create an empty image file command to start up a virtual machine using that image file. As root:" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:155(para) msgid "When using the libvirt default network, libvirt will connect the virtual machine's interface to a bridge called virbr0. There is a dnsmasq process managed by libvirt that will hand out an IP address on the 192.168.122.0/24 subnet, and libvirt has iptables rules for doing NAT for IP addresses on this subnet." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:138(para) msgid "The KVM hypervisor starts the virtual machine with the libvirt name, centos-6.4, with 1024MB of RAM. The virtual machine also has a virtual CD-ROM drive associated with the /data/CentOS-6.4-x86_64-netinstall.iso file and a local 10GB hard disk in qcow2 format that is stored in the host at /data/centos-6.4.qcow2. It configures networking to use libvirt's default network. There is a VNC server that is listening on all interfaces, and libvirt will not attempt to launch a VNC client automatically nor try to display the text console (--no-autoconsole). Finally, libvirt will attempt to optimize the configuration for a Linux guest running a RHEL 6.x distribution." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:164(para) msgid "Run the command to see a range of allowed --os-variant options." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:168(replaceable) msgid "vm-name" msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:167(para) msgid "Use the command to get the VNC port number." msgstr "" #: ./doc/image-guide/ch_creating_images_manually.xml:172(para) msgid "In the example above, the guest centos-6.4 uses VNC display :1, which corresponds to TCP port 5901. You should be able to connect a VNC client running on your local machine to display :1 on the remote machine and step through the installation process." msgstr "" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 #: ./doc/image-guide/ch_creating_images_manually.xml:0(None) msgid "translator-credits" msgstr ""