Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/units/?format=api
https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Starting a script on first boot via a systemd service" ], "previous_source": "", "target": [ "" ], "id_hash": -6538339586900032837, "content_hash": -6538339586900032837, "location": "pages/tutorial-services.adoc:1", "context": "", "note": "type: Title =", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate.fedoraproject.org/api/units/4891553/?format=api", "priority": 100, "id": 4893275, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=254326c98df302bb", "url": "https://translate.fedoraproject.org/api/units/4893275/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.009501Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Make sure that you have completed the steps described in the xref:tutorial-setup.adoc[initial setup page] before starting this tutorial." ], "previous_source": "", "target": [ "Asegúrese de que ha completado los pasos descritos en la xref:tutorial-setup.adoc[página inicial de ajuste] antes de empezar con este tutorial." ], "id_hash": -6046028645273519839, "content_hash": -6046028645273519839, "location": "pages/tutorial-services.adoc:4", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate.fedoraproject.org/api/units/4891558/?format=api", "priority": 100, "id": 4893276, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=2c1830faf8a2b921", "url": "https://translate.fedoraproject.org/api/units/4893276/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.030122Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Configure a systemd service to run the script on first boot." ], "previous_source": "", "target": [ "" ], "id_hash": 830150241447271339, "content_hash": 830150241447271339, "location": "pages/tutorial-services.adoc:9", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate.fedoraproject.org/api/units/4891577/?format=api", "priority": 100, "id": 4893279, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=8b85493f0bab5bab", "url": "https://translate.fedoraproject.org/api/units/4893279/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.107586Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Writing the script" ], "previous_source": "", "target": [ "" ], "id_hash": -6893794095429177199, "content_hash": -6893794095429177199, "location": "pages/tutorial-services.adoc:10", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/4891586/?format=api", "priority": 100, "id": 4893280, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=205452cb8b423091", "url": "https://translate.fedoraproject.org/api/units/4893280/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.147497Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "This could be useful in cloud environments where you might have different public and private addresses." ], "previous_source": "", "target": [ "" ], "id_hash": -9098030448041802966, "content_hash": -9098030448041802966, "location": "pages/tutorial-services.adoc:26", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate.fedoraproject.org/api/units/4891603/?format=api", "priority": 100, "id": 4893283, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=01bd4d82ccc7c32a", "url": "https://translate.fedoraproject.org/api/units/4893283/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.213412Z", "last_updated": "2025-04-17T00:04:56.281008Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Writing the systemd service" ], "previous_source": "", "target": [ "" ], "id_hash": 1209723351139852747, "content_hash": 1209723351139852747, "location": "pages/tutorial-services.adoc:29", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate.fedoraproject.org/api/units/4891612/?format=api", "priority": 100, "id": 4893285, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=90c9ccfa7d2fa1cb", "url": "https://translate.fedoraproject.org/api/units/4893285/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.249030Z", "last_updated": "2025-04-17T00:04:56.286753Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "[Service]\nType=oneshot\nExecStart=/usr/local/bin/public-ipv4.sh\nExecStartPost=/usr/bin/touch /var/lib/issuegen-public-ipv4\nRemainAfterExit=yes\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1945301401702088044, "content_hash": -1945301401702088044, "location": "pages/tutorial-services.adoc:47", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate.fedoraproject.org/api/units/4891631/?format=api", "priority": 100, "id": 4893288, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=6500e6ae8a7a4294", "url": "https://translate.fedoraproject.org/api/units/4893288/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.329860Z", "last_updated": "2025-04-17T00:04:56.294778Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Testing" ], "previous_source": "", "target": [ "" ], "id_hash": -7283834722215946428, "content_hash": -7283834722215946428, "location": "pages/tutorial-services.adoc:103", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 23, "has_suggestion": true, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate.fedoraproject.org/api/units/4891667/?format=api", "priority": 100, "id": 4893296, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=1aea9ee95ba99744", "url": "https://translate.fedoraproject.org/api/units/4893296/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.547197Z", "last_updated": "2025-04-17T00:04:56.317177Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Just as before we will use the following to boot the instance:" ], "previous_source": "", "target": [ "" ], "id_hash": -6468915971823854561, "content_hash": -6468915971823854561, "location": "pages/tutorial-services.adoc:106", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 24, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate.fedoraproject.org/api/units/4891671/?format=api", "priority": 100, "id": 4893297, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=2639cb3289969c1f", "url": "https://translate.fedoraproject.org/api/units/4893297/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.566779Z", "last_updated": "2025-04-17T00:04:56.319837Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "And the service shows it was launched successfully:" ], "previous_source": "", "target": [ "" ], "id_hash": -8713675849157501967, "content_hash": -8713675849157501967, "location": "pages/tutorial-services.adoc:140", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 31, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/4891702/?format=api", "priority": 100, "id": 4893305, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=0712cdfb73111bf1", "url": "https://translate.fedoraproject.org/api/units/4893305/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.814280Z", "last_updated": "2025-04-17T00:04:56.339689Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Cleanup" ], "previous_source": "", "target": [ "" ], "id_hash": -5360594353676744916, "content_hash": -5360594353676744916, "location": "pages/tutorial-services.adoc:160", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 34, "has_suggestion": true, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate.fedoraproject.org/api/units/4891718/?format=api", "priority": 100, "id": 4893308, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=359b57d64422072c", "url": "https://translate.fedoraproject.org/api/units/4893308/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.887317Z", "last_updated": "2025-04-17T00:04:56.555104Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Now let's take down the instance for the next test. First, disconnect from the serial console by pressing `CTRL` + `]` and then destroy the machine:" ], "previous_source": "", "target": [ "" ], "id_hash": -493889039743509848, "content_hash": -493889039743509848, "location": "pages/tutorial-services.adoc:163", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 35, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate.fedoraproject.org/api/units/4891722/?format=api", "priority": 100, "id": 4893309, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=79255a88fba11aa8", "url": "https://translate.fedoraproject.org/api/units/4893309/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.915768Z", "last_updated": "2025-04-17T00:04:56.558454Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "You may now proceed with the xref:tutorial-containers.adoc[next tutorial]." ], "previous_source": "", "target": [ "" ], "id_hash": 604026007884922083, "content_hash": 604026007884922083, "location": "pages/tutorial-services.adoc:169", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 37, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/4891729/?format=api", "priority": 100, "id": 4893311, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=8861ee743313fce3", "url": "https://translate.fedoraproject.org/api/units/4893311/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-08T10:27:48.992671Z", "last_updated": "2025-04-17T00:04:56.564885Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Add a script at `/usr/local/bin/public-ipv4.sh`." ], "previous_source": "", "target": [ "" ], "id_hash": 3521343682676127093, "content_hash": 3521343682676127093, "location": "pages/tutorial-services.adoc:8", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/4896816/?format=api", "priority": 100, "id": 4896817, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=b0de536c29f9f575", "url": "https://translate.fedoraproject.org/api/units/4896817/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-10T22:39:25.048694Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "We will store this script into `/usr/local/bin/public-ipv4.sh` when we provision the machine." ], "previous_source": "", "target": [ "" ], "id_hash": -8860439735427832101, "content_hash": -8860439735427832101, "location": "pages/tutorial-services.adoc:28", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate.fedoraproject.org/api/units/4896818/?format=api", "priority": 100, "id": 4896819, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=05096501581166db", "url": "https://translate.fedoraproject.org/api/units/4896819/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-10T22:39:25.087543Z", "last_updated": "2025-04-17T00:04:56.284093Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "# Setup the correct SELinux label to allow access to the config\nchcon --verbose --type svirt_home_t services.ign\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6392855892722135930, "content_hash": -6392855892722135930, "location": "pages/tutorial-services.adoc:111", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate.fedoraproject.org/api/units/4896822/?format=api", "priority": 100, "id": 4896823, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=2748036fb608cc86", "url": "https://translate.fedoraproject.org/api/units/4896823/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-10T22:39:25.306221Z", "last_updated": "2025-04-17T00:04:56.322705Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "virsh destroy fcos\nvirsh undefine --remove-all-storage fcos\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4830400402970336986, "content_hash": 4830400402970336986, "location": "pages/tutorial-services.adoc:167", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 36, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/4896826/?format=api", "priority": 100, "id": 4896827, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=c3090792edf35eda", "url": "https://translate.fedoraproject.org/api/units/4896827/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2020-08-10T22:39:25.571268Z", "last_updated": "2025-04-17T00:04:56.561554Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "In this tutorial, we will run a script on the first boot via a systemd service. We will add the following to the Butane config from the previous scenario:" ], "previous_source": "", "target": [ "" ], "id_hash": -6897322906258260871, "content_hash": -6897322906258260871, "location": "pages/tutorial-services.adoc:6", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate.fedoraproject.org/api/units/7757686/?format=api", "priority": 100, "id": 7757691, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=2047c95c3f4fbc79", "url": "https://translate.fedoraproject.org/api/units/7757691/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-04-14T21:57:59.589391Z", "last_updated": "2023-06-16T11:46:33.795393Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Writing the Butane config and converting to Ignition" ], "previous_source": "", "target": [ "Escribiremos la configuración Butane y la convertiremos a Ignition" ], "id_hash": 8306699213512401117, "content_hash": 8306699213512401117, "location": "pages/tutorial-services.adoc:53", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate.fedoraproject.org/api/units/7757688/?format=api", "priority": 100, "id": 7757693, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=f34752ec856c60dd", "url": "https://translate.fedoraproject.org/api/units/7757693/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-04-14T21:57:59.602374Z", "last_updated": "2025-04-17T00:04:56.300054Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "And view on the console that the `Detected Public IPv4` is shown in the console output right before you are dropped to a login prompt:" ], "previous_source": "", "target": [ "" ], "id_hash": -2396667684654632888, "content_hash": -2396667684654632888, "location": "pages/tutorial-services.adoc:120", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate.fedoraproject.org/api/units/12074552/?format=api", "priority": 100, "id": 12074553, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=5ebd53705b80b048", "url": "https://translate.fedoraproject.org/api/units/12074553/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-11-05T22:08:01.041943Z", "last_updated": "2025-04-17T00:04:56.328623Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "cat <<'EOF' > public-ipv4.sh\n#!/bin/bash\necho \"Detected Public IPv4: is $(curl https://ipv4.icanhazip.com)\" > \\\n /etc/issue.d/50_public-ipv4.issue\nEOF\n" ], "previous_source": "", "target": [ "" ], "id_hash": -373887569696750332, "content_hash": -373887569696750332, "location": "pages/tutorial-services.adoc:23", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate.fedoraproject.org/api/units/14881112/?format=api", "priority": 100, "id": 14881127, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=7acfaf3c7e4a8504", "url": "https://translate.fedoraproject.org/api/units/14881127/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.738324Z", "last_updated": "2025-04-17T00:04:56.278213Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "We need to call the script from the previous section by using a systemd unit. Let's write a systemd unit into the `issuegen-public-ipv4.service` file that does what we want, which is to execute on first boot and not again:" ], "previous_source": "", "target": [ "" ], "id_hash": -5552904221579195472, "content_hash": -5552904221579195472, "location": "pages/tutorial-services.adoc:32", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate.fedoraproject.org/api/units/14881113/?format=api", "priority": 100, "id": 14881128, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=32f01f07f1014bb0", "url": "https://translate.fedoraproject.org/api/units/14881128/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.745541Z", "last_updated": "2025-04-17T00:04:56.289216Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "cat <<'EOF' > issuegen-public-ipv4.service\n[Unit]\nBefore=systemd-user-sessions.service\nWants=network-online.target\nAfter=network-online.target\nConditionPathExists=!/var/lib/issuegen-public-ipv4\n" ], "previous_source": "", "target": [ "" ], "id_hash": -161415893936800840, "content_hash": -161415893936800840, "location": "pages/tutorial-services.adoc:41", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate.fedoraproject.org/api/units/14881114/?format=api", "priority": 100, "id": 14881129, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=7dc2891984cb7bb8", "url": "https://translate.fedoraproject.org/api/units/14881129/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.747911Z", "last_updated": "2025-04-17T00:04:56.291923Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "[Install]\nWantedBy=multi-user.target\nEOF\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5252104753964986289, "content_hash": 5252104753964986289, "location": "pages/tutorial-services.adoc:51", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate.fedoraproject.org/api/units/14881115/?format=api", "priority": 100, "id": 14881130, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=c8e3397267392fb1", "url": "https://translate.fedoraproject.org/api/units/14881130/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.751907Z", "last_updated": "2025-04-17T00:04:56.297376Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "We can now create a Butane config that will include the script and systemd unit file contents by picking up the local `public-ipv4.sh` and `issuegen-public-ipv4.service` files using local file references. The final Butane config, stored in `services.bu`, will be:" ], "previous_source": "", "target": [ "" ], "id_hash": -2354040898393401787, "content_hash": -2354040898393401787, "location": "pages/tutorial-services.adoc:56", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 39, "source_unit": "https://translate.fedoraproject.org/api/units/14881116/?format=api", "priority": 100, "id": 14881131, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=5f54c44670851645", "url": "https://translate.fedoraproject.org/api/units/14881131/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.755879Z", "last_updated": "2025-04-17T00:04:56.303597Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Check the Butane https://coreos.github.io/butane/examples/[Examples] and https://coreos.github.io/butane/specs/[Configuration specifications] for more details about local file includes." ], "previous_source": "", "target": [ "" ], "id_hash": 1659716346321993960, "content_hash": 1659716346321993960, "location": "pages/tutorial-services.adoc:95", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 20, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate.fedoraproject.org/api/units/14881118/?format=api", "priority": 100, "id": 14881133, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=97087f39326e80e8", "url": "https://translate.fedoraproject.org/api/units/14881133/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.760892Z", "last_updated": "2025-04-17T00:04:56.308908Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "With the files `public-ipv4.sh`, `issuegen-public-ipv4.service`, and `services.bu` in the current working directory we can now convert to Ignition:" ], "previous_source": "", "target": [ "" ], "id_hash": 6823517411533619734, "content_hash": 6823517411533619734, "location": "pages/tutorial-services.adoc:97", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate.fedoraproject.org/api/units/14881119/?format=api", "priority": 100, "id": 14881134, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=deb200eee9278216", "url": "https://translate.fedoraproject.org/api/units/14881134/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.763143Z", "last_updated": "2025-04-17T00:04:56.312176Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "butane --pretty --strict --files-dir=./ services.bu --output services.ign\n" ], "previous_source": "", "target": [ "" ], "id_hash": -4487058037997247867, "content_hash": -4487058037997247867, "location": "pages/tutorial-services.adoc:101", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 22, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate.fedoraproject.org/api/units/14881120/?format=api", "priority": 100, "id": 14881135, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=41bac47ce69ce285", "url": "https://translate.fedoraproject.org/api/units/14881135/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.765788Z", "last_updated": "2025-04-17T00:04:56.314762Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Fedora CoreOS 38.20230709.3.0\nKernel 6.3.11-200.fc38.x86_64 on an x86_64 (ttyS0)\n" ], "previous_source": "", "target": [ "" ], "id_hash": 2679296194841774233, "content_hash": 2679296194841774233, "location": "pages/tutorial-services.adoc:124", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 28, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate.fedoraproject.org/api/units/14881121/?format=api", "priority": 100, "id": 14881136, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=a52ec5b195998899", "url": "https://translate.fedoraproject.org/api/units/14881136/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.776303Z", "last_updated": "2025-04-17T00:04:56.331361Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "SSH host key: SHA256:tYHKk26+NZ/+ZytWLXClGz813PQJDGP/2+AiuZ8fiqk (ECDSA)\nSSH host key: SHA256:jJASZec/91zXd4or0uiFsvsfaLC6viLronfxIwQlNCs (ED25519)\nSSH host key: SHA256:2XlSZAehEu666fmXeM8d47lpIJd92MBOqgMazT4GsVw (RSA)\nenp1s0: 192.168.124.150 fe80::475a:7a10:2302:b670\nIgnition: ran on 2023/08/03 16:40:45 UTC (this boot)\nIgnition: user-provided config was applied\nNo SSH authorized keys provided by Ignition or Afterburn\nDetected Public IPv4: is 3.252.102.80\ntutorial login: core (automatic login)\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1489769898236712093, "content_hash": 1489769898236712093, "location": "pages/tutorial-services.adoc:134", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 29, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 50, "source_unit": "https://translate.fedoraproject.org/api/units/14881122/?format=api", "priority": 100, "id": 14881137, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=94acb9d44d78149d", "url": "https://translate.fedoraproject.org/api/units/14881137/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.778542Z", "last_updated": "2025-04-17T00:04:56.334064Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Fedora CoreOS 38.20230709.3.0\n[core@tutorial ~]$\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1929863204019191067, "content_hash": -1929863204019191067, "location": "pages/tutorial-services.adoc:137", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 30, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate.fedoraproject.org/api/units/14881123/?format=api", "priority": 100, "id": 14881138, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=6537bfa40b56c2e5", "url": "https://translate.fedoraproject.org/api/units/14881138/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.780761Z", "last_updated": "2025-04-17T00:04:56.336924Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "[core@tutorial ~]$ systemctl status --full issuegen-public-ipv4.service\n● issuegen-public-ipv4.service\n Loaded: loaded (/etc/systemd/system/issuegen-public-ipv4.service; enabled; preset: enabled)\n Drop-In: /usr/lib/systemd/system/service.d\n └─10-timeout-abort.conf\n Active: active (exited) since Thu 2023-08-03 16:40:55 UTC; 1min 7s ago\n Process: 1423 ExecStart=/usr/local/bin/public-ipv4.sh (code=exited, status=0/SUCCESS)\n Process: 1460 ExecStartPost=/usr/bin/touch /var/lib/issuegen-public-ipv4 (code=exited, status=0/SUCCESS)\n Main PID: 1423 (code=exited, status=0/SUCCESS)\n CPU: 84ms\n" ], "previous_source": "", "target": [ "" ], "id_hash": 229508283195929211, "content_hash": 229508283195929211, "location": "pages/tutorial-services.adoc:152", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 32, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 46, "source_unit": "https://translate.fedoraproject.org/api/units/14881124/?format=api", "priority": 100, "id": 14881139, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=832f60914ce7327b", "url": "https://translate.fedoraproject.org/api/units/14881139/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.785650Z", "last_updated": "2025-04-17T00:04:56.342862Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Aug 03 16:40:55 tutorial systemd[1]: Starting issuegen-public-ipv4.service...\nAug 03 16:40:55 tutorial public-ipv4.sh[1424]: % Total % Received % Xferd Average Speed Time Time Time Current\nAug 03 16:40:55 tutorial public-ipv4.sh[1424]: Dload Upload Total Spent Left Speed\nAug 03 16:40:55 tutorial public-ipv4.sh[1424]: [158B blob data]\nAug 03 16:40:55 tutorial systemd[1]: Finished issuegen-public-ipv4.service.\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5280074211832526170, "content_hash": -5280074211832526170, "location": "pages/tutorial-services.adoc:158", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 33, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 50, "source_unit": "https://translate.fedoraproject.org/api/units/14881125/?format=api", "priority": 100, "id": 14881140, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=36b9687ab8058aa6", "url": "https://translate.fedoraproject.org/api/units/14881140/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-08-05T22:06:17.790482Z", "last_updated": "2025-04-17T00:04:56.551221Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "variant: fcos\nversion: {butane-latest-stable-spec}\nsystemd:\n units:\n - name: serial-getty@ttyS0.service\n dropins:\n - name: autologin-core.conf\n contents: |\n [Service]\n # Override Execstart in main unit\n ExecStart=\n # Add new Execstart with `-` prefix to ignore failure`\n ExecStart=-/usr/sbin/agetty --autologin core --noclear %I $TERM\n - name: issuegen-public-ipv4.service\n enabled: true\n contents_local: issuegen-public-ipv4.service\nstorage:\n files:\n - path: /etc/hostname\n mode: 0644\n contents:\n inline: |\n tutorial\n - path: /etc/profile.d/systemd-pager.sh\n mode: 0644\n contents:\n inline: |\n # Tell systemd to not use a pager when printing information\n export SYSTEMD_PAGER=cat\n - path: /usr/local/bin/public-ipv4.sh\n mode: 0755\n contents:\n local: public-ipv4.sh\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1703348536272798485, "content_hash": -1703348536272798485, "location": "pages/tutorial-services.adoc:92", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 86, "source_unit": "https://translate.fedoraproject.org/api/units/16788485/?format=api", "priority": 100, "id": 16788486, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=685c7d87eec73ceb", "url": "https://translate.fedoraproject.org/api/units/16788486/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-08T22:17:54.418276Z", "last_updated": "2025-04-17T00:04:56.305987Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "Let's write a small script that uses https://icanhazip.com/[icanhazip.com] to create an issue file to display as a prelogin message on the console and store it in `public-ipv4.sh`." ], "previous_source": "", "target": [ "" ], "id_hash": -37781492101810933, "content_hash": -37781492101810933, "location": "pages/tutorial-services.adoc:13", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate.fedoraproject.org/api/units/17413071/?format=api", "priority": 100, "id": 17413073, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=7f79c5eee02ff50b", "url": "https://translate.fedoraproject.org/api/units/17413073/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-03-18T22:22:18.757614Z", "last_updated": "2024-03-18T22:22:18.757653Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "# Start a Fedora CoreOS virtual machine\nvirt-install --name=fcos --vcpus=2 --ram=2048 --os-variant=fedora-coreos-stable \\\n --import --network=bridge=virbr0 --graphics=none \\\n --qemu-commandline=\"-fw_cfg name=opt/com.coreos/config,file=${PWD}/services.ign\" \\\n --disk=\"size=20,backing_store=${PWD}/fedora-coreos.qcow2\"\n" ], "previous_source": "", "target": [ "" ], "id_hash": 5903772733186091720, "content_hash": 5903772733186091720, "location": "pages/tutorial-services.adoc:117", "context": "", "note": "type: delimited block -", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 26, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate.fedoraproject.org/api/units/18693504/?format=api", "priority": 100, "id": 18693506, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=d1ee6a057431aac8", "url": "https://translate.fedoraproject.org/api/units/18693506/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-13T22:27:56.599598Z", "last_updated": "2025-04-17T00:04:56.325588Z" }, { "translation": "https://translate.fedoraproject.org/api/translations/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?format=api", "language_code": "es", "source": [ "This is only an example to show how to run a service on boot. Do not use this if you don't trust the owners of https://icanhazip.com/[icanhazip.com]." ], "previous_source": "", "target": [ "" ], "id_hash": 7524488938548175456, "content_hash": 7524488938548175456, "location": "pages/tutorial-services.adoc:15", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate.fedoraproject.org/api/units/19208212/?format=api", "priority": 100, "id": 19208214, "web_url": "https://translate.fedoraproject.org/translate/fedora-docs-l10n-fedora-coreos/masterpagestutorial-services/es/?checksum=e86c5ad2ba852260", "url": "https://translate.fedoraproject.org/api/units/19208214/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-04-17T00:04:56.273706Z", "last_updated": "2025-04-17T00:04:56.273715Z" } ] }{ "count": 37, "next": null, "previous": null, "results": [ { "translation": "