From 8f74c65d0a7ef740b6988c2501f1102af3a888b0 Mon Sep 17 00:00:00 2001 From: Charles Plessy Date: Fri, 18 Jan 2013 12:24:47 +0000 Subject: [PATCH] updated PO files --- .../installeur-debian-dans-un-nuage-2.en.po" | 254 ++++++++++++++++++ 1 file changed, 254 insertions(+) create mode 100644 "Debian/debi\303\242neries/installeur-debian-dans-un-nuage-2.en.po" diff --git "a/Debian/debi\303\242neries/installeur-debian-dans-un-nuage-2.en.po" "b/Debian/debi\303\242neries/installeur-debian-dans-un-nuage-2.en.po" new file mode 100644 index 00000000..6a2e144b --- /dev/null +++ "b/Debian/debi\303\242neries/installeur-debian-dans-un-nuage-2.en.po" @@ -0,0 +1,254 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2013-01-18 12:24+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Plain text +#, no-wrap +msgid "[[!meta date=\"Fri, 18 Jan 2013 21:03:36 +0900\"]]\n" +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "[[!meta updated=\"Fri, 18 Jan 2013 21:03:36 +0900\"]]\n" +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "[[!tag Debian]]\n" +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "[[!meta title=\"L'installeur Debian dans un nuage, part 2.\"]]\n" +msgstr "" + +#. type: Plain text +msgid "" +"J'arrive enfin à créer une [[image machine de l'installeur " +"Debian|installeur-debian-dans-un-nuage]] automatiquement, sans qu'aucune clé " +"ou mot de passe ne transite dans le réseau ni sur le Nuage." +msgstr "" + +#. type: Plain text +msgid "" +"Pour ce faire, je démarre une micro-instance avec un volume supplémentaire, " +"et je lui passe un script via [[cloud-init]], qui va télécharger " +"l'installeur Debian sur ce volume et éteindre la micro instance. Ensuite, " +"j'enregistre ce volume comme image machine." +msgstr "" + +#. type: Plain text +msgid "" +"Les images machines de l'Installeur créées ainsi peuvent être démarrées avec " +"une pré-configuration pour installer Debian sur un autre volume. Je bute " +"encore sur cette pré-configuration. Plus de détails dans un prochain " +"article." +msgstr "" + +#. type: Plain text +msgid "" +"En attandant, voici les commandes que j'utilise. Mettez-les ensembles et " +"vous obtiendrez un script qui n'est pas du grand art, mais qui marche." +msgstr "" + +#. type: Plain text +msgid "" +"Depuis l'ordinateur local, lancer une instance sur le Nuage. Pour le moment " +"il faut utiliser une image Ubuntu en attandant que cloud-init soit installé " +"par défaut sur les images Debian (http://bugs.debian.org/696595)." +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"
\n"
+"HELPER_AMI=ami-7609bb77 # Ubuntu 12.04 LTS Precise amd64 EBS in Tokyo\n"
+"
\n" +msgstr "" + +#. type: Plain text +msgid "" +"On passe le script debigen-install-installer-cloud (voir plus bas). " +"L'instance démarre avec un volume supplémentaire de 1 GiB qui persistera " +"après l'extinction de l'instance." +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"
\n"
+"HELPER_INSTANCE=$( euca-run-instances \\\n"
+"        --instance-initiated-shutdown-behavior terminate \\\n"
+"        --instance-type t1.micro \\\n"
+"        --block-device-mapping /dev/sdb=:1:false \\\n"
+"        --user-data-file debigen-install-installer-cloud \\\n"
+"        $HELPER_AMI |\n"
+"        tee /dev/stderr | grep INSTANCE | awk '{print $2}')\n"
+"
\n" +msgstr "" + +#. type: Plain text +msgid "On attend que le démarrage soit fini" +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"
\n"
+"while [ ! $(euca-describe-instances $HELPER_INSTANCE | grep INSTANCE | cut "
+"-f 6 | tee /dev/stderr) = \"running\" ]; do sleep 30; done\n"
+"
\n" +msgstr "" + +#. type: Plain text +msgid "On récupère le numéro du volume persistant." +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"
\n"
+"TARGET_VOLUME=$( euca-describe-volumes |\n"
+"        grep $HELPER_INSTANCE | grep '/dev/sdb' |\n"
+"        tee /dev/stderr | awk '{print $2}')\n"
+"
\n" +msgstr "" + +#. type: Plain text +msgid "On attend que le script termine l'instance." +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"
\n"
+"while [ ! $(euca-describe-instances $HELPER_INSTANCE | grep INSTANCE | cut "
+"-f 6 | tee /dev/stderr) = \"terminated\" ]; do sleep 30; done\n"
+"
\n" +msgstr "" + +#. type: Plain text +msgid "" +"Et enfin, on enregistre une images à partir d'un instantanné du volume. " +"(Notez que `PV_KERNEL=aki-44992845` est pour la région de Tôkyô." +msgstr "" + +#. type: Plain text +#: +#, no-wrap +msgid "
\n"
+msgstr ""
+
+#. type: Title #
+#, no-wrap
+msgid "PV-Grub kernels to boot the installer (hd0)"
+msgstr ""
+
+#. type: Title #
+#, no-wrap
+msgid ""
+"See from "
+"http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html"
+msgstr ""
+
+#. type: Plain text
+msgid "PV_KERNEL=aki-44992845"
+msgstr ""
+
+#. type: Plain text
+#, no-wrap
+msgid ""
+"TARGET_SNAPSHOT=$( euca-create-snapshot $TARGET_VOLUME |\n"
+"        tee /dev/stderr | awk '{print $2}')\n"
+msgstr ""
+
+#. type: Plain text
+msgid ""
+"while euca-describe-snapshots $TARGET_SNAPSHOT | grep -q pending ; do sleep "
+"30 ; done"
+msgstr ""
+
+#. type: Plain text
+#, no-wrap
+msgid ""
+"INSTALLER_IMAGE=$( euca-register \\\n"
+"        --name test_di \\\n"
+"        --description test_of_debian_installer \\\n"
+"        --snapshot $TARGET_SNAPSHOT \\\n"
+"        --kernel $PV_KERNEL \\\n"
+"        --architecture x86_64 |\n"
+"        tee /dev/stderr | awk '{print $2}')\n"
+"
\n" +msgstr "" + +#. type: Plain text +msgid "Voici le script appelé debigen-install-installer-cloud, lancé plus haut." +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "#!/bin/sh -ex\n" +msgstr "" + +#. type: Plain text +msgid "mke2fs -L debian-installer /dev/xvdb -F mount LABEL=debian-installer /mnt/" +msgstr "" + +#. type: Plain text +msgid "cd /mnt" +msgstr "" + +#. type: Plain text +msgid "" +"ARCH=amd64 DIST=squeeze DI_VERSION=20110106+squeeze4+b2 MIRROR=jp " +"BASEURL=http://ftp.$MIRROR.debian.org/debian/dists/$DIST/main/installer-$ARCH/$DI_VERSION/images/netboot/xen" +msgstr "" + +#. type: Plain text +msgid "wget $BASEURL/initrd.gz $BASEURL/vmlinuz" +msgstr "" + +#. type: Plain text +msgid "mkdir -p boot/grub" +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"cat > boot/grub/menu.lst <<__END__\n" +"default 0\n" +"timeout 3\n" +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"title Debian Installer ($DI_VERSION $ARCH)\n" +"root (hd0)\n" +"kernel /linux root=LABEL=debian-installer ro console=hvc0 auto=true " +"priority=critical url=http://169.254.169.254/latest/user-data " +"DEBIAN_FRONTEND=text\n" +"initrd /initrd.gz\n" +"__END__\n" +msgstr "" + +#. type: Plain text +#, no-wrap +msgid "" +"halt\n" +"\n" +msgstr "" -- 2.47.3