Auto-update blog content from Obsidian: 2025-05-23 12:39:11
All checks were successful
Deploy / Deploy (push) Successful in 5s
All checks were successful
Deploy / Deploy (push) Successful in 5s
This commit is contained in:
parent
7c02a3426a
commit
90ce9061da
@ -1,5 +1,6 @@
|
||||
---
|
||||
title: Template
|
||||
description:
|
||||
date:
|
||||
draft: true
|
||||
tags:
|
@ -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.
|
||||
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.
|
@ -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.
|
@ -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
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
### 📁 Directory Tree
|
||||
|
||||
```plaintext
|
||||
myblog/
|
||||
├── config.toml
|
||||
├── content/
|
||||
│ └── posts/
|
||||
│ └── hello-world.md
|
||||
└── themes/
|
||||
└── PaperMod/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Thanks for stopping by! 🎉
|
@ -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.
|
||||

|
||||
## 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.
|
||||
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.
|
@ -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
|
||||

|
||||
## 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.
|
||||
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.
|
Loading…
x
Reference in New Issue
Block a user