From 9bd8d3f9ebedba7fa3f49a65f792f1a405af94c5 Mon Sep 17 00:00:00 2001 From: Languages add-on Date: Feb 20 2024 17:02:57 +0000 Subject: Added translation using Weblate (Czech) Added translation using Weblate (Czech) Co-authored-by: Languages add-on --- diff --git a/po/cs/master/pages/provisioning-nutanix.po b/po/cs/master/pages/provisioning-nutanix.po new file mode 100644 index 0000000..c9cc232 --- /dev/null +++ b/po/cs/master/pages/provisioning-nutanix.po @@ -0,0 +1,274 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Languages add-on , 2024. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2022-08-03 22:00+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Title = +#: ./pages/provisioning-nutanix.adoc:1 +#, no-wrap +msgid "Provisioning Fedora CoreOS on Nutanix AHV" +msgstr "" + +#. type: Plain text +#: ./pages/provisioning-nutanix.adoc:4 +msgid "" +"This guide shows how to provision new Fedora CoreOS (FCOS) nodes on Nutanix " +"AHV. Fedora currently does not publish Fedora CoreOS images within Nutanix, " +"so you need to upload a Nutanix image to your Nutanix Prism Central " +"subscription." +msgstr "" + +#. type: Title == +#: ./pages/provisioning-nutanix.adoc:5 +#, no-wrap +msgid "Prerequisites" +msgstr "" + +#. type: Plain text +#: ./pages/provisioning-nutanix.adoc:8 +msgid "" +"Before provisioning an FCOS machine, you must have an Ignition configuration " +"file containing your customizations. If you do not have one, see " +"xref:producing-ign.adoc[Producing an Ignition File]." +msgstr "" + +#. type: Plain text +#: ./pages/provisioning-nutanix.adoc:10 +msgid "" +"Fedora CoreOS has a default `core` user that can be used to explore the " +"OS. If you want to use it, finalize its " +"xref:authentication.adoc[configuration] by providing e.g. an SSH key." +msgstr "" + +#. type: Plain text +#: ./pages/provisioning-nutanix.adoc:12 +msgid "" +"You also need to have access to a Nutanix Prism Central subscription. The " +"examples below use the `curl` command to access Nutanix Prism Central APIs." +msgstr "" + +#. type: Title == +#: ./pages/provisioning-nutanix.adoc:13 +#, no-wrap +msgid "Uploading an image to Nutanix AHV" +msgstr "" + +#. type: Plain text +#: ./pages/provisioning-nutanix.adoc:16 +msgid "" +"Fedora CoreOS is designed to be updated automatically, with different " +"schedules per stream. Once you have picked the relevant stream, use the " +"Nutanix Prism Central API to upload the latest image to Nutanix:" +msgstr "" + +#. type: delimited block - +#: ./pages/provisioning-nutanix.adoc:24 +#, no-wrap +msgid "" +"STREAM=stable\n" +"IMAGE_NAME=\n" +"API_HOST=\n" +"API_USERNAME=\n" +"API_PASSWORD=\n" +msgstr "" + +#. type: delimited block - +#: ./pages/provisioning-nutanix.adoc:28 +#, no-wrap +msgid "" +"URL=$(curl https://builds.coreos.fedoraproject.org/streams/${STREAM}.json | " +"\\\n" +" jq -r " +".architectures.x86_64.artifacts.nutanix.formats.qcow2.disk.location)\n" +"ENCODED_CREDS=\"$(echo -n \"${API_USERNAME}:${API_PASSWORD}\" | base64)\"\n" +msgstr "" + +#. type: delimited block - +#: ./pages/provisioning-nutanix.adoc:60 +#, no-wrap +msgid "" +"curl -X POST --header \"Content-Type: application/json\" \\\n" +" --header \"Accept: application/json\" \\ \n" +" --header \"Authorization: Basic ${ENCODED_CREDS}\" \\\n" +" \"https://${API_HOST}:9440/api/nutanix/v3/images\" \\\n" +" -d @- << EOF\n" +"{\n" +" \"spec\": {\n" +" \"name\": \"${IMAGE_NAME}\",\n" +" \"resources\": {\n" +" \"image_type\": \"ISO_IMAGE\",\n" +" \"source_uri\": \"${URL}\",\n" +" \"architecture\": \"X86_64\",\n" +" \"source_options\": {\n" +" \"allow_insecure_connection\": false\n" +" }\n" +" },\n" +" \"description\": \"string\"\n" +" },\n" +" \"api_version\": \"3.1.0\",\n" +" \"metadata\": {\n" +" \"use_categories_mapping\": false,\n" +" \"kind\": \"image\",\n" +" \"spec_version\": 0,\n" +" \"categories_mapping\": {},\n" +" \"should_force_translate\": true,\n" +" \"entity_version\": \"string\",\n" +" \"categories\": {},\n" +" \"name\": \"string\"\n" +" }\n" +"}\n" +"EOF\n" +msgstr "" + +#. type: Title == +#: ./pages/provisioning-nutanix.adoc:62 +#, no-wrap +msgid "Launching a VM instance" +msgstr "" + +#. type: Plain text +#: ./pages/provisioning-nutanix.adoc:65 +msgid "" +"You can provision an FCOS instance using the Nutanix Prism Central web " +"portal or via the Prism Central API with `curl`. Ignition configuration can " +"be passed to the VM as a \"cloud-init custom script\". For example, to " +"launch a VM using the API:" +msgstr "" + +#. type: delimited block - +#: ./pages/provisioning-nutanix.adoc:78 +#, no-wrap +msgid "" +"API_HOST=\n" +"API_USERNAME=\n" +"API_PASSWORD=\n" +"CLUSTER_REFERENCE_NAME=\n" +"CLUSTER_REFERENCE_UUID=\n" +"SUBNET_REFERENCE_NAME=\n" +"SUBNET_REFERENCE_UUID=\n" +"VM_NAME=\n" +"IGNITION_CONFIG=config.ign\n" +"IMAGE_NAME=\n" +msgstr "" + +#. type: delimited block - +#: ./pages/provisioning-nutanix.adoc:87 +#, no-wrap +msgid "" +"ENCODED_CONFIG=\"$(cat ${IGNITION_CONFIG} | base64 -w 0)\"\n" +"ENCODED_CREDS=\"$(echo -n \"${API_USERNAME}:${API_PASSWORD}\" | base64)\"\n" +"IMAGE_ID=$(curl -X POST --header \"Content-Type: application/json\" \\\n" +" --header \"Accept: application/json\" \\\n" +" --header \"Authorization: Basic ${ENCODED_CREDS}\" \\\n" +" \"https://${API_HOST}:9440/api/nutanix/v3/images/list\"\n" +" -d '{ \"kind\": \"image\",\"filter\": \"\", \"length\": 30, \"offset\": " +"0}' | \\\n" +" jq -r '.entities[] | select(.spec.name == \"${IMAGE_NAME}\") | " +".metadata.uuid')\n" +msgstr "" + +#. type: delimited block - +#: ./pages/provisioning-nutanix.adoc:159 +#, no-wrap +msgid "" +"curl -X POST --header \"Content-Type: application/json\" \\\n" +" --header \"Accept: application/json\" \\ \n" +" --header \"Authorization: Basic ${ENCODED_CREDS}\" \\\n" +" \"https://${API_HOST}:9440/api/nutanix/v3/vms\" \\\n" +" -d @- << EOF\n" +"{\n" +" \"spec\": {\n" +" \"name\": \"${VM_NAME}\",\n" +" \"resources\": {\n" +" \"power_state\": \"ON\",\n" +" \"num_vcpus_per_socket\": 1,\n" +" \"num_sockets\": 1,\n" +" \"memory_size_mib\": 16384,\n" +" \"disk_list\": [\n" +" {\n" +" \"disk_size_mib\": 32768,\n" +" \"device_properties\": {\n" +" \"device_type\": \"DISK\",\n" +" \"disk_address\": {\n" +" \"device_index\": 0,\n" +" \"adapter_type\": \"SCSI\"\n" +" }\n" +" },\n" +" \"data_source_reference\": {\n" +" \"kind\": \"image\",\n" +" \"uuid\": \"${IMAGE_ID}\"\n" +" }\n" +" }\n" +" ],\n" +" \"nic_list\": [\n" +" {\n" +" \"nic_type\": \"NORMAL_NIC\",\n" +" \"is_connected\": true,\n" +" \"ip_endpoint_list\": [\n" +" {\n" +" \"ip_type\": \"DHCP\"\n" +" }\n" +" ],\n" +" \"subnet_reference\": {\n" +" \"kind\": \"subnet\",\n" +" \"name\": \"${SUBNET_REFERENCE_NAME}\",\n" +" \"uuid\": \"${SUBNET_REFERENCE_UUID}\"\n" +" }\n" +" }\n" +" ],\n" +" \"guest_tools\": {\n" +" \"nutanix_guest_tools\": {\n" +" \"state\": \"ENABLED\",\n" +" \"iso_mount_state\": \"MOUNTED\"\n" +" }\n" +" },\n" +" \"guest_customization\": {\n" +" \"cloud_init\": {\n" +" \"user_data\": \"${ENCODED_CONFIG}\"\n" +" },\n" +" \"is_overridable\": false\n" +" }\n" +" },\n" +" \"cluster_reference\": {\n" +" \"kind\": \"cluster\",\n" +" \"name\": \"${CLUSTER_REFERENCE_NAME}\",\n" +" \"uuid\": \"${CLUSTER_REFERENCE_UUID}\"\n" +" }\n" +" },\n" +" \"api_version\": \"3.1.0\",\n" +" \"metadata\": {\n" +" \"kind\": \"vm\"\n" +" }\n" +"}\n" +"EOF\n" +msgstr "" + +#. type: Plain text +#: ./pages/provisioning-nutanix.adoc:162 +msgid "" +"You now should be able to SSH into the instance using the associated IP " +"address." +msgstr "" + +#. type: Block title +#: ./pages/provisioning-nutanix.adoc:163 +#, no-wrap +msgid "Example connecting" +msgstr "" + +#. type: delimited block - +#: ./pages/provisioning-nutanix.adoc:167 +#, no-wrap +msgid "ssh core@\n" +msgstr "" diff --git a/po/cs/master/pages/running-containers.po b/po/cs/master/pages/running-containers.po new file mode 100644 index 0000000..7e0935c --- /dev/null +++ b/po/cs/master/pages/running-containers.po @@ -0,0 +1,229 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# Languages add-on , 2024. +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2024-02-08 22:18+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Title = +#: ./pages/running-containers.adoc:1 +#, no-wrap +msgid "Running Containers" +msgstr "" + +#. type: Title == +#: ./pages/running-containers.adoc:3 +#, no-wrap +msgid "Introduction" +msgstr "" + +#. type: Plain text +#: ./pages/running-containers.adoc:5 +msgid "" +"Fedora CoreOS ships with both the `docker` CLI tool (as provided via " +"https://mobyproject.org/[Moby]) and https://podman.io[podman] " +"installed. This page explains how to use systemd units to start and stop " +"containers with podman." +msgstr "" + +#. type: Title == +#: ./pages/running-containers.adoc:6 +#, no-wrap +msgid "Example configuration" +msgstr "" + +#. type: Plain text +#: ./pages/running-containers.adoc:8 +msgid "" +"The following Butane config snippet configures the systemd `hello.service` " +"to run https://www.busybox.net[busybox]." +msgstr "" + +#. type: Plain text +#: ./pages/running-containers.adoc:10 +msgid "" +"You may be able to use local file references to systemd units instead of " +"inlining them. See " +"xref:tutorial-services.adoc#_using_butanes__files_dir_parameter_to_embed_files[Using " +"butane's `--files-dir` Parameter to Embed Files] for more information." +msgstr "" + +#. type: Block title +#: ./pages/running-containers.adoc:11 +#, no-wrap +msgid "Example for running busybox using systemd and podman" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:25 +#, no-wrap +msgid "" +"variant: fcos\n" +"version: {butane-latest-stable-spec}\n" +"systemd:\n" +" units:\n" +" - name: hello.service\n" +" enabled: true\n" +" contents: |\n" +" [Unit]\n" +" Description=MyApp\n" +" After=network-online.target\n" +" Wants=network-online.target\n" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:32 +#, no-wrap +msgid "" +" [Service]\n" +" TimeoutStartSec=0\n" +" ExecStartPre=-/bin/podman kill busybox1\n" +" ExecStartPre=-/bin/podman rm busybox1\n" +" ExecStartPre=/bin/podman pull busybox\n" +" ExecStart=/bin/podman run --name busybox1 busybox /bin/sh -c \"trap " +"'exit 0' INT TERM; while true; do echo Hello World; sleep 1; done\"\n" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:35 ./pages/running-containers.adoc:98 +#, no-wrap +msgid "" +" [Install]\n" +" WantedBy=multi-user.target\n" +msgstr "" + +#. type: Block title +#: ./pages/running-containers.adoc:37 +#, no-wrap +msgid "Example for running busybox using Podman Quadlet" +msgstr "" + +#. type: Plain text +#: ./pages/running-containers.adoc:40 +msgid "" +"https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html[Podman " +"Quadlet] is functionality included in podman that allows starting containers " +"via systemd using a systemd generator. The example below is the same " +"`hello.service` that was previously shown but deployed via the Podman " +"Quadlet functionality." +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:54 +#, no-wrap +msgid "" +"variant: fcos\n" +"version: {butane-latest-stable-spec}\n" +"storage:\n" +" files:\n" +" - path: /etc/containers/systemd/hello.container\n" +" contents:\n" +" inline: |\n" +" [Unit]\n" +" Description=Hello Service\n" +" Wants=network-online.target\n" +" After=network-online.target\n" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:59 +#, no-wrap +msgid "" +" [Container]\n" +" ContainerName=busybox1\n" +" Image=docker.io/busybox\n" +" Exec=/bin/sh -c \"trap 'exit 0' INT TERM; while true; do echo " +"Hello World; sleep 1; done\"\n" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:62 +#, no-wrap +msgid "" +" [Install]\n" +" WantedBy=multi-user.target\n" +msgstr "" + +#. type: Title === +#: ./pages/running-containers.adoc:64 +#, no-wrap +msgid "Running etcd" +msgstr "" + +#. type: Plain text +#: ./pages/running-containers.adoc:67 +msgid "" +"https://etcd.io[etcd] is not shipped as part of Fedora CoreOS. To use it, " +"run it as a container, as shown below." +msgstr "" + +#. type: Block title +#: ./pages/running-containers.adoc:68 +#, no-wrap +msgid "Butane config for setting up single node etcd" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:82 +#, no-wrap +msgid "" +"variant: fcos\n" +"version: {butane-latest-stable-spec}\n" +"systemd:\n" +" units:\n" +" - name: etcd-member.service\n" +" enabled: true\n" +" contents: |\n" +" [Unit]\n" +" Description=Run single node etcd\n" +" After=network-online.target\n" +" Wants=network-online.target\n" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:93 +#, no-wrap +msgid "" +" [Service]\n" +" ExecStartPre=mkdir -p /var/lib/etcd\n" +" ExecStartPre=-/bin/podman kill etcd\n" +" ExecStartPre=-/bin/podman rm etcd\n" +" ExecStartPre=-/bin/podman pull quay.io/coreos/etcd\n" +" ExecStart=/bin/podman run --name etcd --volume " +"/var/lib/etcd:/etcd-data:z --net=host quay.io/coreos/etcd:latest " +"/usr/local/bin/etcd --data-dir /etcd-data --name node1 \\\n" +" --initial-advertise-peer-urls http://127.0.0.1:2380 " +"--listen-peer-urls http://127.0.0.1:2380 \\\n" +" --advertise-client-urls http://127.0.0.1:2379 \\\n" +" --listen-client-urls http://127.0.0.1:2379 \\\n" +" --initial-cluster node1=http://127.0.0.1:2380\n" +msgstr "" + +#. type: delimited block - +#: ./pages/running-containers.adoc:95 +#, no-wrap +msgid " ExecStop=/bin/podman stop etcd\n" +msgstr "" + +#. type: Title === +#: ./pages/running-containers.adoc:100 +#, no-wrap +msgid "For more information" +msgstr "" + +#. type: Plain text +#: ./pages/running-containers.adoc:101 +msgid "" +"See the https://etcd.io/docs/latest/op-guide/container/#docker[etcd " +"documentation] for more information on running etcd in containers and how to " +"set up multi-node etcd." +msgstr ""