From 90ce9061daf49c6886e7538870f929081503eff2 Mon Sep 17 00:00:00 2001 From: Gitea Actions Date: Fri, 23 May 2025 12:39:11 +0000 Subject: [PATCH] Auto-update blog content from Obsidian: 2025-05-23 12:39:11 --- content/post/{template.md => 0-template.md} | 1 + content/post/blog-deployment.fr.md | 11 +- content/post/blog-deployment.md | 3 +- content/post/my-first-post.md | 137 ------------------ .../post/proxmox-cloud-init-vm-template.fr.md | 49 ++++--- .../post/proxmox-cloud-init-vm-template.md | 19 +-- 6 files changed, 47 insertions(+), 173 deletions(-) rename content/post/{template.md => 0-template.md} (81%) delete mode 100644 content/post/my-first-post.md diff --git a/content/post/template.md b/content/post/0-template.md similarity index 81% rename from content/post/template.md rename to content/post/0-template.md index e9db7d5..f5303b3 100644 --- a/content/post/template.md +++ b/content/post/0-template.md @@ -1,5 +1,6 @@ --- title: Template +description: date: draft: true tags: diff --git a/content/post/blog-deployment.fr.md b/content/post/blog-deployment.fr.md index e0fc87b..6b97b08 100644 --- a/content/post/blog-deployment.fr.md +++ b/content/post/blog-deployment.fr.md @@ -1,5 +1,6 @@ --- title: DĂ©ploiment du Blog avec Obsidian, Hugo et Gitea Actions +description: date: 2025-05-02 draft: false tags: @@ -230,6 +231,12 @@ jobs: --- ## 🚀 Results -This workflow allows me to focus on what matters most: writing and refining my content. By automating the publishing pipeline — from syncing my Obsidian notes to building the blog with Hugo — I no longer need to worry about manually managing content in a CMS. +This workflow allows me to focus on what matters most: writing and refining my content. By automating the publishing pipeline, from syncing my Obsidian notes to building the blog with Hugo, I no longer need to worry about manually managing content in a CMS. -Every note I draft can evolve naturally into a clear, structured article, and the technical workflow fades into the background. It’s a simple yet powerful way to turn personal knowledge into shareable documentation. \ No newline at end of file +Every note I draft can evolve naturally into a clear, structured article, and the technical workflow fades into the background. It’s a simple yet powerful way to turn personal knowledge into shareable documentation. + +## 🚀 RĂ©sultats + +Ce workflow me permet de me concentrer sur l'essentiel : rĂ©diger et peaufiner mon contenu. En automatisant le processus de publication, de la synchronisation de mes notes Obsidian Ă  la crĂ©ation du blog avec Hugo, je n'ai plus Ă  me soucier de la gestion manuelle du contenu dans un CMS. + +Chaque note que je rĂ©dige peut Ă©voluer naturellement vers un article clair et structurĂ©, et la partie technique passe au second plan. C'est un moyen simple et efficace de transformer mes connaissances personnelles en documentation partageable. \ No newline at end of file diff --git a/content/post/blog-deployment.md b/content/post/blog-deployment.md index 2ddd0c0..9f8e087 100644 --- a/content/post/blog-deployment.md +++ b/content/post/blog-deployment.md @@ -1,5 +1,6 @@ --- title: Blog Deployment featuring Obsidian, Hugo and Gitea Actions +description: date: 2025-05-02 draft: false tags: @@ -229,6 +230,6 @@ jobs: --- ## 🚀 Results -This workflow allows me to focus on what matters most: writing and refining my content. By automating the publishing pipeline — from syncing my Obsidian notes to building the blog with Hugo — I no longer need to worry about manually managing content in a CMS. +This workflow allows me to focus on what matters most: writing and refining my content. By automating the publishing pipeline, from syncing my Obsidian notes to building the blog with Hugo, I no longer need to worry about manually managing content in a CMS. Every note I draft can evolve naturally into a clear, structured article, and the technical workflow fades into the background. It’s a simple yet powerful way to turn personal knowledge into shareable documentation. \ No newline at end of file diff --git a/content/post/my-first-post.md b/content/post/my-first-post.md deleted file mode 100644 index 74b9446..0000000 --- a/content/post/my-first-post.md +++ /dev/null @@ -1,137 +0,0 @@ ---- -title: Welcome to My Homelab Blog -date: 2025-04-25 -draft: true -tags: - - homelab - - infrastructure - - docker ---- - -# 🏡 Welcome to My Homelab - -This is a placeholder post to test the features of my new blog powered by **Hugo** and the `PaperMod` theme. - -I like : -- Chicken -- Sausage -- Oranges -- Potatoes -- Pasta -- Beer -- Squid -- Doritos -- Banana -- Kiwi -- Pizza -- Automation -- Cats -- Tomatoes -- Fish -- Girls -- Boobies -- Nuggets - ---- - -## đŸ§± Markdown Elements - -### Headers - -```markdown -# H1 -## H2 -### H3 -``` - -### Lists - -#### Unordered - -- Docker -- Proxmox -- Kubernetes - -#### Ordered - -1. Build homelab -2. Break homelab 😅 -3. Fix it and learn - ---- - -### ✅ Checkboxes - -- [x] Installed Hugo -- [x] Added PaperMod theme -- [x] Created this test post -- [ ] Sync with Obsidian vault - ---- - -### 🔗 Links - -Check out [PaperMod on GitHub](https://github.com/adityatelange/hugo-PaperMod) - ---- - -### 💬 Blockquote - -> “Simplicity is the ultimate sophistication.” — Leonardo da Vinci - ---- - -### 💡 Inline Code - -Use `docker compose up -d` to start your stack. - ---- - -### đŸ§‘â€đŸ’» Code Blocks - -```bash -# A bash snippet -sudo apt update -sudo apt install hugo -``` - -```yaml -# A YAML snippet -version: '3' -services: - blog: - image: nginx:alpine - ports: - - "80:80" -``` - -```go -// A Go snippet (because Hugo is written in Go) -func main() { - fmt.Println("Hello, Hugo!") -} -``` - ---- - -### 📾 Image - -![Example Image](https://via.placeholder.com/800x400.png?text=My+Blog) - ---- - -### 📁 Directory Tree - -```plaintext -myblog/ -├── config.toml -├── content/ -│ └── posts/ -│ └── hello-world.md -└── themes/ - └── PaperMod/ -``` - ---- - -Thanks for stopping by! 🎉 diff --git a/content/post/proxmox-cloud-init-vm-template.fr.md b/content/post/proxmox-cloud-init-vm-template.fr.md index 06f5da9..66023b5 100644 --- a/content/post/proxmox-cloud-init-vm-template.fr.md +++ b/content/post/proxmox-cloud-init-vm-template.fr.md @@ -1,5 +1,6 @@ --- title: Proxmox - CrĂ©er un Template de VM Cloud-Init +description: DĂ©couvrez comment crĂ©er un template de VM Ubuntu rĂ©utilisable avec cloud-init dans Proxmox pour accĂ©lĂ©rer et simplifier le dĂ©ploiement de machines virtuelles. date: 2025-01-31 draft: false tags: @@ -8,32 +9,32 @@ tags: categories: - homelab --- -## Introduction +## Intro -Creating a reusable VM template in Proxmox using Cloud-init can streamline VM deployments significantly. This post covers the step-by-step process to set up a cloud-init-enabled VM template using Ubuntu for Proxmox. +CrĂ©er un template de VM dans **Proxmox** avec **cloud-init** peut considĂ©rablement simplifier les dĂ©ploiements de VM. Cet article dĂ©crit Ă©tape par Ă©tape la configuration d'un template de VM compatible **cloud-init** avec **Ubuntu** pour **Proxmox**. -Proxmox supports Cloud-init, a tool that allows the automatic configuration of virtual machines right after they are provisioned. This includes setting up networking, SSH keys, and other initial settings. +Proxmox prend en charge cloud-init, un outil qui permet la configuration automatique des machines virtuelles immĂ©diatement aprĂšs leur provisionnement. Cela inclut la configuration du rĂ©seau, des clĂ©s SSH et d'autres paramĂštres initiaux. -In this guide, we'll create a VM template with Cloud-init enabled, allowing for rapid deployment of pre-configured VMs. +Dans ce guide, nous allons crĂ©er un template de VM avec cloud-init activĂ©, permettant ainsi un dĂ©ploiement rapide de VM prĂ©configurĂ©es. --- -## Why Cloud-init? +## Pourquoi Cloud-init ? -Cloud-init is a widely used tool for automating the initial configuration of cloud instances. It helps to set up SSH keys, hostname, network configuration, and other parameters during the first boot, making it ideal for creating reusable VM templates in a homelab or production environment. +Cloud-init est un outil largement utilisĂ© pour automatiser la configuration initiale des instances cloud. Il permet de configurer les clĂ©s SSH, le nom d'hĂŽte, la configuration rĂ©seau et d'autres paramĂštres dĂšs le premier dĂ©marrage, ce qui le rend idĂ©al pour crĂ©er des templates de VM rĂ©utilisables en homelab ou en environnement de production. -[Proxmox Cloud-init Documentation](https://pve.proxmox.com/wiki/Cloud-Init_Support) +[Documentation Proxmox Cloud-init](https://pve.proxmox.com/wiki/Cloud-Init_Support) -## Download the OS Image +## TĂ©lĂ©charger l'Image de l'OS -First, we need to download an image with Cloud-init support. Although Rocky Linux was initially considered, the `.img` format was not available, and the `.qcow2` format caused issues. Instead, we will proceed with the Ubuntu cloud image. +Tout d'abord, nous devons tĂ©lĂ©charger une image compatible cloud-init. Bien que Rocky Linux ait Ă©tĂ© initialement envisagĂ©, le format `.img` n'Ă©tait pas disponible et le format `.qcow2` posait problĂšme. Nous allons donc utiliser l'image cloud d'Ubuntu. -Find cloud-ready images from the [OpenStack Image Guide](https://docs.openstack.org/image-guide/obtain-images.html). +Trouvez des images compatibles cloud dans le [Guide des images OpenStack](https://docs.openstack.org/image-guide/obtain-images.html). -In Proxmox, navigate to **Storage > ISO Images > Upload** to upload the downloaded image. +Dans Proxmox, accĂ©dez Ă  **Storage > ISO Images > Upload** pour uploader l'image tĂ©lĂ©chargĂ©e. ![Pasted_image_20250131144754.png](img/Pasted_image_20250131144754.png) -## Create the VM +## CrĂ©er la VM -Next, we create the VM using the command line interface (CLI) with the following command: +Ensuite, on crĂ©e une VM en utilisant la ligne de commande (CLI) depuis le nƓud Proxmox avec la commande suivantes : ```bash qm create 900 \ @@ -47,42 +48,42 @@ qm create 900 \ --name ubuntu-cloud ``` -This creates a VM with UEFI support, 2GB of RAM, and a single core. The `efidisk0` parameter specifies an EFI disk. +Cela crĂ©e une VM avec le support UEFI, 2GB de RAM, et un seul cƓur. Le paramĂštre `efidisk0` spĂ©cifie une disque EFI. -### Import the OS Disk +### Importer le Disque OS -Now, import the downloaded disk image as the primary disk: +Maintenant, on importe l'image disque tĂ©lĂ©chargĂ©e comme disque primaire : ```bash qm set 900 --scsi0 ceph-workload:0,import-from=/var/lib/vz/template/iso/noble-server-cloudimg-amd64.img ``` -### Configure Cloud-init +### Configurer Cloud-init -Add a Cloud-init CD drive to the VM: +On ajoute un lecteur CD cloud-init Ă  la VM : ```bash qm set 900 --scsi1 ceph-workload:cloudinit ``` -Set the boot order to prioritize the primary disk over the CD: +On dĂ©finit l'ordre de dĂ©marrage pour donner la prioritĂ© au disque principal par rapport au CD : ```bash qm set 900 --boot order=scsi0 ``` -Add a serial port for console access: +On ajoute un port sĂ©rie pour l'accĂšs console : ```bash qm set 900 --serial0 socket --vga serial0 ``` -## Convert to Template +## Convertir en Template -After configuring the VM, right-click on the VM in the Proxmox WebUI and select **Convert to template**. This will finalize the template creation. +AprĂšs avoir configurĂ© la VM, on fait un clic droit dessus dans l'interface Web de Proxmox et sĂ©lectionnez `Convert to template`. La crĂ©ation du template est alors terminĂ©e. ## Conclusion -This method allows for rapid deployment of pre-configured VMs using Proxmox and Cloud-init. +Cette mĂ©thode permet un dĂ©ploiement rapide avec Proxmox de VM prĂ©configurĂ©es et cloud-init. -The template can now be used to spawn new instances with custom configurations by providing the necessary Cloud-init parameters. This is particularly useful for deploying multiple instances with consistent baseline configurations quickly. \ No newline at end of file +Le template peut dĂ©sormais ĂȘtre utilisĂ© pour gĂ©nĂ©rer de nouvelles instances avec des configurations personnalisĂ©es en fournissant les paramĂštres cloud-init nĂ©cessaires. Ceci est particuliĂšrement utile pour dĂ©ployer rapidement plusieurs instances avec des configurations de base similaires. \ No newline at end of file diff --git a/content/post/proxmox-cloud-init-vm-template.md b/content/post/proxmox-cloud-init-vm-template.md index 64952fc..6ec0bbf 100644 --- a/content/post/proxmox-cloud-init-vm-template.md +++ b/content/post/proxmox-cloud-init-vm-template.md @@ -1,5 +1,6 @@ --- title: Proxmox - Create a Cloud-Init VM Template +description: Learn how to create a reusable Ubuntu VM template with cloud-init in Proxmox to speed up and simplify virtual machine deployment. date: 2025-01-31 draft: false tags: @@ -8,13 +9,13 @@ tags: categories: - homelab --- -## Introduction +## Intro -Creating a reusable VM template in Proxmox using Cloud-init can streamline VM deployments significantly. This post covers the step-by-step process to set up a cloud-init-enabled VM template using Ubuntu for Proxmox. +Creating a VM template in Proxmox using cloud-init can streamline VM deployments significantly. This post covers the step-by-step process to set up a cloud-init-enabled VM template using Ubuntu for Proxmox. -Proxmox supports Cloud-init, a tool that allows the automatic configuration of virtual machines right after they are provisioned. This includes setting up networking, SSH keys, and other initial settings. +Proxmox supports cloud-init, a tool that allows the automatic configuration of virtual machines right after they are provisioned. This includes setting up networking, SSH keys, and other initial settings. -In this guide, we'll create a VM template with Cloud-init enabled, allowing for rapid deployment of pre-configured VMs. +In this guide, we'll create a VM template with cloud-init enabled, allowing for rapid deployment of pre-configured VMs. --- ## Why Cloud-init? @@ -25,7 +26,7 @@ Cloud-init is a widely used tool for automating the initial configuration of clo ## Download the OS Image -First, we need to download an image with Cloud-init support. Although Rocky Linux was initially considered, the `.img` format was not available, and the `.qcow2` format caused issues. Instead, we will proceed with the Ubuntu cloud image. +First, we need to download an image with cloud-init support. Although Rocky Linux was initially considered, the `.img` format was not available, and the `.qcow2` format caused issues. Instead, we will proceed with the Ubuntu cloud image. Find cloud-ready images from the [OpenStack Image Guide](https://docs.openstack.org/image-guide/obtain-images.html). @@ -33,7 +34,7 @@ In Proxmox, navigate to **Storage > ISO Images > Upload** to upload the download ![Pasted_image_20250131144754.png](img/Pasted_image_20250131144754.png) ## Create the VM -Next, we create the VM using the command line interface (CLI) with the following command: +Next, we create the VM using the command line interface (CLI) from the Proxmox node with the following command: ```bash qm create 900 \ @@ -59,7 +60,7 @@ qm set 900 --scsi0 ceph-workload:0,import-from=/var/lib/vz/template/iso/noble-se ### Configure Cloud-init -Add a Cloud-init CD drive to the VM: +Add a cloud-init CD drive to the VM: ```bash qm set 900 --scsi1 ceph-workload:cloudinit @@ -83,6 +84,6 @@ After configuring the VM, right-click on the VM in the Proxmox WebUI and select ## Conclusion -This method allows for rapid deployment of pre-configured VMs using Proxmox and Cloud-init. +This method allows for rapid deployment using Proxmox of pre-configured VMs and cloud-init. -The template can now be used to spawn new instances with custom configurations by providing the necessary Cloud-init parameters. This is particularly useful for deploying multiple instances with consistent baseline configurations quickly. \ No newline at end of file +The template can now be used to spawn new instances with custom configurations by providing the necessary cloud-init parameters. This is particularly useful for deploying multiple instances with consistent baseline configurations quickly. \ No newline at end of file