feat: Add animated demos recorded with autocast and agg
Scenarios in demo/*.yaml are played by autocast into asciinema
recordings (.cast, playable in Gitea) and rendered as GIFs by agg for the
README. The recording tools and fonts (Inconsolata Nerd Font, Noto Color
Emoji) live in a separate mise environment:
MISE_ENV=demo mise run demo <tour|install>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
This commit is contained in:
1 parent
3caef59c36
commit
e31a1b9111
10 files changed
+1079
No files matched your search
@@ -0,0 +1,36 @@
|
||||
# Demos
|
||||
|
||||
The animations of the [README](../README.md) are recorded with
|
||||
[autocast](https://github.com/k9withabone/autocast) from scenarios written in
|
||||
YAML (`<scenario>.yaml`): the commands really run in a bash shell and the
|
||||
session is written as an [asciinema](https://asciinema.org) recording
|
||||
(`<scenario>.cast`), then rendered as a GIF with
|
||||
[agg](https://github.com/asciinema/agg).
|
||||
|
||||
The `.cast` files can be played in Gitea's file view (asciinema player).
|
||||
|
||||
| Scenario | Demo | Prerequisites |
|
||||
|---|---|---|
|
||||
| `tour.yaml` | welcome message, `list`, `show`, `diff` (read only) | LXD |
|
||||
| `install.yaml` | `install`, diff and confirmation after a change in LXD, `import` | LXD, profile `unattended-upgrades` not installed |
|
||||
|
||||
## Recording a demo
|
||||
|
||||
The recording tools live in a separate mise environment (`mise.demo.toml`), so
|
||||
they are only installed when making demos:
|
||||
|
||||
```shell
|
||||
MISE_ENV=demo mise run demo <scenario> # demo/<scenario>.cast and demo/<scenario>.gif
|
||||
```
|
||||
|
||||
`setup.sh` is the hidden preamble of every scenario (mise activated, `delta` as
|
||||
git pager). `install.yaml` installs the profile `unattended-upgrades` in LXD,
|
||||
modifies it and imports it into the repository; its hidden epilogue restores
|
||||
the repository file as it was and deletes the profile. The scenario refuses to
|
||||
start if that profile is already installed.
|
||||
|
||||
agg draws the text itself, with fonts installed by mise in the demo environment
|
||||
(nothing is installed on the system, which can be headless):
|
||||
[Inconsolata Nerd Font](https://www.nerdfonts.com) and
|
||||
[Noto Color Emoji](https://github.com/googlefonts/noto-emoji), passed with
|
||||
`--font-dir`.
|
||||
@@ -0,0 +1,546 @@
|
||||
{"version": 2, "width": 156, "height": 52, "timestamp": 1795270536, "duration": 46.281630, "env": {"TERM": "xterm-256color", "PS1": "AUTOCAST_PROMPT", "SHELL": "/usr/bin/bash", "PROMPT_COMMAND": "bind 'set enable-bracketed-paste off'"}}
|
||||
[0.000000, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[0.000000, "m", "Install"]
|
||||
[0.035000, "o", "#"]
|
||||
[0.070000, "o", " "]
|
||||
[0.105000, "o", "I"]
|
||||
[0.140000, "o", "n"]
|
||||
[0.175000, "o", "s"]
|
||||
[0.210000, "o", "t"]
|
||||
[0.245000, "o", "a"]
|
||||
[0.280000, "o", "l"]
|
||||
[0.315000, "o", "l"]
|
||||
[0.350000, "o", " "]
|
||||
[0.385000, "o", "a"]
|
||||
[0.420000, "o", " "]
|
||||
[0.455000, "o", "p"]
|
||||
[0.490000, "o", "r"]
|
||||
[0.525000, "o", "o"]
|
||||
[0.560000, "o", "f"]
|
||||
[0.595000, "o", "i"]
|
||||
[0.630000, "o", "l"]
|
||||
[0.665000, "o", "e"]
|
||||
[0.700000, "o", " "]
|
||||
[0.735000, "o", "f"]
|
||||
[0.770000, "o", "r"]
|
||||
[0.805000, "o", "o"]
|
||||
[0.840000, "o", "m"]
|
||||
[0.875000, "o", " "]
|
||||
[0.910000, "o", "t"]
|
||||
[0.945000, "o", "h"]
|
||||
[0.980000, "o", "e"]
|
||||
[1.015000, "o", " "]
|
||||
[1.050000, "o", "r"]
|
||||
[1.085000, "o", "e"]
|
||||
[1.120000, "o", "p"]
|
||||
[1.155000, "o", "o"]
|
||||
[1.190000, "o", "s"]
|
||||
[1.225000, "o", "i"]
|
||||
[1.260000, "o", "t"]
|
||||
[1.295000, "o", "o"]
|
||||
[1.330000, "o", "r"]
|
||||
[1.365000, "o", "y"]
|
||||
[1.400000, "o", "\r\n"]
|
||||
[1.403576, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[1.438576, "o", "m"]
|
||||
[1.473576, "o", "i"]
|
||||
[1.508576, "o", "s"]
|
||||
[1.543576, "o", "e"]
|
||||
[1.578576, "o", " "]
|
||||
[1.613576, "o", "r"]
|
||||
[1.648576, "o", "u"]
|
||||
[1.683576, "o", "n"]
|
||||
[1.718576, "o", " "]
|
||||
[1.753576, "o", "i"]
|
||||
[1.788576, "o", "n"]
|
||||
[1.823576, "o", "s"]
|
||||
[1.858576, "o", "t"]
|
||||
[1.893576, "o", "a"]
|
||||
[1.928576, "o", "l"]
|
||||
[1.963576, "o", "l"]
|
||||
[1.998576, "o", " "]
|
||||
[2.033576, "o", "u"]
|
||||
[2.068576, "o", "n"]
|
||||
[2.103576, "o", "a"]
|
||||
[2.138576, "o", "t"]
|
||||
[2.173576, "o", "t"]
|
||||
[2.208576, "o", "e"]
|
||||
[2.243576, "o", "n"]
|
||||
[2.278576, "o", "d"]
|
||||
[2.313576, "o", "e"]
|
||||
[2.348576, "o", "d"]
|
||||
[2.383576, "o", "-"]
|
||||
[2.418576, "o", "u"]
|
||||
[2.453576, "o", "p"]
|
||||
[2.488576, "o", "g"]
|
||||
[2.523576, "o", "r"]
|
||||
[2.558576, "o", "a"]
|
||||
[2.593576, "o", "d"]
|
||||
[2.628576, "o", "e"]
|
||||
[2.663576, "o", "s"]
|
||||
[2.698576, "o", "\r\n"]
|
||||
[3.263088, "o", "\u001b[36m▸\u001b[0m \u001b[1munattended-upgrades\u001b[0m : création\r\n"]
|
||||
[3.450683, "o", "Profile unattended-upgrades created\r\n"]
|
||||
[3.790449, "o", "\u001b[32m✔\u001b[0m \u001b[1munattended-upgrades\u001b[0m : à jour (depuis profiles/system/unattended-upgrades.profile.yaml)\r\n"]
|
||||
[3.817120, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[6.852120, "o", "\r\u001b[H\u001b[2J\u001b[3J"]
|
||||
[6.887120, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[6.887120, "m", "Update"]
|
||||
[6.922120, "o", "#"]
|
||||
[6.957120, "o", " "]
|
||||
[6.992120, "o", "S"]
|
||||
[7.027120, "o", "o"]
|
||||
[7.062120, "o", "m"]
|
||||
[7.097120, "o", "e"]
|
||||
[7.132120, "o", "o"]
|
||||
[7.167120, "o", "n"]
|
||||
[7.202120, "o", "e"]
|
||||
[7.237120, "o", " "]
|
||||
[7.272120, "o", "c"]
|
||||
[7.307120, "o", "h"]
|
||||
[7.342120, "o", "a"]
|
||||
[7.377120, "o", "n"]
|
||||
[7.412120, "o", "g"]
|
||||
[7.447120, "o", "e"]
|
||||
[7.482120, "o", "s"]
|
||||
[7.517120, "o", " "]
|
||||
[7.552120, "o", "t"]
|
||||
[7.587120, "o", "h"]
|
||||
[7.622120, "o", "e"]
|
||||
[7.657120, "o", " "]
|
||||
[7.692120, "o", "p"]
|
||||
[7.727120, "o", "r"]
|
||||
[7.762120, "o", "o"]
|
||||
[7.797120, "o", "f"]
|
||||
[7.832120, "o", "i"]
|
||||
[7.867120, "o", "l"]
|
||||
[7.902120, "o", "e"]
|
||||
[7.937120, "o", " "]
|
||||
[7.972120, "o", "d"]
|
||||
[8.007120, "o", "i"]
|
||||
[8.042120, "o", "r"]
|
||||
[8.077120, "o", "e"]
|
||||
[8.112120, "o", "c"]
|
||||
[8.147120, "o", "t"]
|
||||
[8.182120, "o", "l"]
|
||||
[8.217120, "o", "y"]
|
||||
[8.252120, "o", " "]
|
||||
[8.287120, "o", "i"]
|
||||
[8.322120, "o", "n"]
|
||||
[8.357120, "o", " "]
|
||||
[8.392120, "o", "L"]
|
||||
[8.427120, "o", "X"]
|
||||
[8.462120, "o", "D"]
|
||||
[8.497120, "o", "."]
|
||||
[8.532120, "o", "."]
|
||||
[8.567120, "o", "."]
|
||||
[8.602120, "o", "\r\n"]
|
||||
[8.606227, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[8.641227, "o", "l"]
|
||||
[8.676227, "o", "x"]
|
||||
[8.711227, "o", "c"]
|
||||
[8.746227, "o", " "]
|
||||
[8.781227, "o", "p"]
|
||||
[8.816227, "o", "r"]
|
||||
[8.851227, "o", "o"]
|
||||
[8.886227, "o", "f"]
|
||||
[8.921227, "o", "i"]
|
||||
[8.956227, "o", "l"]
|
||||
[8.991227, "o", "e"]
|
||||
[9.026227, "o", " "]
|
||||
[9.061227, "o", "s"]
|
||||
[9.096227, "o", "e"]
|
||||
[9.131227, "o", "t"]
|
||||
[9.166227, "o", " "]
|
||||
[9.201227, "o", "u"]
|
||||
[9.236227, "o", "n"]
|
||||
[9.271227, "o", "a"]
|
||||
[9.306227, "o", "t"]
|
||||
[9.341227, "o", "t"]
|
||||
[9.376227, "o", "e"]
|
||||
[9.411227, "o", "n"]
|
||||
[9.446227, "o", "d"]
|
||||
[9.481227, "o", "e"]
|
||||
[9.516227, "o", "d"]
|
||||
[9.551227, "o", "-"]
|
||||
[9.586227, "o", "u"]
|
||||
[9.621227, "o", "p"]
|
||||
[9.656227, "o", "g"]
|
||||
[9.691227, "o", "r"]
|
||||
[9.726227, "o", "a"]
|
||||
[9.761227, "o", "d"]
|
||||
[9.796227, "o", "e"]
|
||||
[9.831227, "o", "s"]
|
||||
[9.866227, "o", " "]
|
||||
[9.901227, "o", "s"]
|
||||
[9.936227, "o", "n"]
|
||||
[9.971227, "o", "a"]
|
||||
[10.006227, "o", "p"]
|
||||
[10.041227, "o", "s"]
|
||||
[10.076227, "o", "h"]
|
||||
[10.111227, "o", "o"]
|
||||
[10.146227, "o", "t"]
|
||||
[10.181227, "o", "s"]
|
||||
[10.216227, "o", "."]
|
||||
[10.251227, "o", "s"]
|
||||
[10.286227, "o", "c"]
|
||||
[10.321227, "o", "h"]
|
||||
[10.356227, "o", "e"]
|
||||
[10.391227, "o", "d"]
|
||||
[10.426227, "o", "u"]
|
||||
[10.461227, "o", "l"]
|
||||
[10.496227, "o", "e"]
|
||||
[10.531227, "o", " "]
|
||||
[10.566227, "o", "@"]
|
||||
[10.601227, "o", "d"]
|
||||
[10.636227, "o", "a"]
|
||||
[10.671227, "o", "i"]
|
||||
[10.706227, "o", "l"]
|
||||
[10.741227, "o", "y"]
|
||||
[10.776227, "o", "\r\n"]
|
||||
[10.983954, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[11.018954, "o", "m"]
|
||||
[11.053954, "o", "i"]
|
||||
[11.088954, "o", "s"]
|
||||
[11.123954, "o", "e"]
|
||||
[11.158954, "o", " "]
|
||||
[11.193954, "o", "r"]
|
||||
[11.228954, "o", "u"]
|
||||
[11.263954, "o", "n"]
|
||||
[11.298954, "o", " "]
|
||||
[11.333954, "o", "l"]
|
||||
[11.368954, "o", "i"]
|
||||
[11.403954, "o", "s"]
|
||||
[11.438954, "o", "t"]
|
||||
[11.473954, "o", " "]
|
||||
[11.508954, "o", "|"]
|
||||
[11.543954, "o", " "]
|
||||
[11.578954, "o", "g"]
|
||||
[11.613954, "o", "r"]
|
||||
[11.648954, "o", "e"]
|
||||
[11.683954, "o", "p"]
|
||||
[11.718954, "o", " "]
|
||||
[11.753954, "o", "u"]
|
||||
[11.788954, "o", "n"]
|
||||
[11.823954, "o", "a"]
|
||||
[11.858954, "o", "t"]
|
||||
[11.893954, "o", "t"]
|
||||
[11.928954, "o", "e"]
|
||||
[11.963954, "o", "n"]
|
||||
[11.998954, "o", "d"]
|
||||
[12.033954, "o", "e"]
|
||||
[12.068954, "o", "d"]
|
||||
[12.103954, "o", "\r\n"]
|
||||
[16.255397, "o", " ⚠️ unattended-upgrades Profil pour activer les unattended upgrades sur U… 0 profiles/system/unattended-upgrades.profile.yaml\r\n"]
|
||||
[16.899060, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[19.934060, "o", "#"]
|
||||
[19.969060, "o", " "]
|
||||
[20.004060, "o", "I"]
|
||||
[20.039060, "o", "n"]
|
||||
[20.074060, "o", "s"]
|
||||
[20.109060, "o", "t"]
|
||||
[20.144060, "o", "a"]
|
||||
[20.179060, "o", "l"]
|
||||
[20.214060, "o", "l"]
|
||||
[20.249060, "o", "i"]
|
||||
[20.284060, "o", "n"]
|
||||
[20.319060, "o", "g"]
|
||||
[20.354060, "o", " "]
|
||||
[20.389060, "o", "a"]
|
||||
[20.424060, "o", "g"]
|
||||
[20.459060, "o", "a"]
|
||||
[20.494060, "o", "i"]
|
||||
[20.529060, "o", "n"]
|
||||
[20.564060, "o", " "]
|
||||
[20.599060, "o", "s"]
|
||||
[20.634060, "o", "h"]
|
||||
[20.669060, "o", "o"]
|
||||
[20.704060, "o", "w"]
|
||||
[20.739060, "o", "s"]
|
||||
[20.774060, "o", " "]
|
||||
[20.809060, "o", "t"]
|
||||
[20.844060, "o", "h"]
|
||||
[20.879060, "o", "e"]
|
||||
[20.914060, "o", " "]
|
||||
[20.949060, "o", "d"]
|
||||
[20.984060, "o", "i"]
|
||||
[21.019060, "o", "f"]
|
||||
[21.054060, "o", "f"]
|
||||
[21.089060, "o", " "]
|
||||
[21.124060, "o", "a"]
|
||||
[21.159060, "o", "n"]
|
||||
[21.194060, "o", "d"]
|
||||
[21.229060, "o", " "]
|
||||
[21.264060, "o", "a"]
|
||||
[21.299060, "o", "s"]
|
||||
[21.334060, "o", "k"]
|
||||
[21.369060, "o", "s"]
|
||||
[21.404060, "o", " "]
|
||||
[21.439060, "o", "f"]
|
||||
[21.474060, "o", "o"]
|
||||
[21.509060, "o", "r"]
|
||||
[21.544060, "o", " "]
|
||||
[21.579060, "o", "c"]
|
||||
[21.614060, "o", "o"]
|
||||
[21.649060, "o", "n"]
|
||||
[21.684060, "o", "f"]
|
||||
[21.719060, "o", "i"]
|
||||
[21.754060, "o", "r"]
|
||||
[21.789060, "o", "m"]
|
||||
[21.824060, "o", "a"]
|
||||
[21.859060, "o", "t"]
|
||||
[21.894060, "o", "i"]
|
||||
[21.929060, "o", "o"]
|
||||
[21.964060, "o", "n"]
|
||||
[21.999060, "o", "\r\n"]
|
||||
[22.002643, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[22.037643, "o", "m"]
|
||||
[22.072643, "o", "i"]
|
||||
[22.107643, "o", "s"]
|
||||
[22.142643, "o", "e"]
|
||||
[22.177643, "o", " "]
|
||||
[22.212643, "o", "r"]
|
||||
[22.247643, "o", "u"]
|
||||
[22.282643, "o", "n"]
|
||||
[22.317643, "o", " "]
|
||||
[22.352643, "o", "i"]
|
||||
[22.387643, "o", "n"]
|
||||
[22.422643, "o", "s"]
|
||||
[22.457643, "o", "t"]
|
||||
[22.492643, "o", "a"]
|
||||
[22.527643, "o", "l"]
|
||||
[22.562643, "o", "l"]
|
||||
[22.597643, "o", " "]
|
||||
[22.632643, "o", "u"]
|
||||
[22.667643, "o", "n"]
|
||||
[22.702643, "o", "a"]
|
||||
[22.737643, "o", "t"]
|
||||
[22.772643, "o", "t"]
|
||||
[22.807643, "o", "e"]
|
||||
[22.842643, "o", "n"]
|
||||
[22.877643, "o", "d"]
|
||||
[22.912643, "o", "e"]
|
||||
[22.947643, "o", "d"]
|
||||
[22.982643, "o", "-"]
|
||||
[23.017643, "o", "u"]
|
||||
[23.052643, "o", "p"]
|
||||
[23.087643, "o", "g"]
|
||||
[23.122643, "o", "r"]
|
||||
[23.157643, "o", "a"]
|
||||
[23.192643, "o", "d"]
|
||||
[23.227643, "o", "e"]
|
||||
[23.262643, "o", "s"]
|
||||
[23.297643, "o", "\r\n"]
|
||||
[23.969777, "o", "\u001b[33m⚠\u001b[0m \u001b[1munattended-upgrades\u001b[0m existe déjà et diffère du dépôt :\r\n"]
|
||||
[24.089076, "o", "\r\n\u001b[34mΔ lxd:unattended-upgrades (installé) ⟶ profiles/system/unattended-upgrades.profile.yaml (dépôt)\u001b[0m\r\n\u001b[34m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"]
|
||||
[24.089439, "o", "\r\n"]
|
||||
[24.089464, "o", "\u001b[34m──────\u001b[0m\u001b[34m┐\u001b[0m\r\n\u001b[34m•\u001b[0m \u001b[34m27\u001b[0m: \u001b[34m│\u001b[0m\r\n\u001b[34m──────\u001b[0m\u001b[34m┘\u001b[0m\r\n"]
|
||||
[24.089546, "o", "\u001b[34m│\u001b[38;2;68;68;68m 27 \u001b[34m│\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 27 \u001b[34m│\u001b[0m\r\n"]
|
||||
[24.089591, "o", "\u001b[34m│\u001b[38;2;68;68;68m 28 \u001b[34m│\u001b[38;2;227;234;242m runcmd:\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 28 \u001b[34m│\u001b[38;2;227;234;242m runcmd:\u001b[0m\r\n"]
|
||||
[24.089632, "o", "\u001b[34m│\u001b[38;2;68;68;68m 29 \u001b[34m│\u001b[38;2;227;234;242m - [ systemctl, enable, --now, unattended-upgrades ]\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 29 \u001b[34m│\u001b[38;2;227;234;242m - [ systemctl, enable, --now, unattended-upgrades ]\u001b[0m\r\n"]
|
||||
[24.089728, "o", "\u001b[34m│\u001b[38;5;88m 30 \u001b[34m│\u001b[48;2;63;0;1;38;2;227;234;242m snapshots.schedule: '@daily'\u001b[0m\u001b[48;2;63;0;1m \u001b[0m\u001b[34m│\u001b[38;2;68;68;68m \u001b[34m│\u001b[0m\r\n\u001b[34m│\u001b[38;2;68;68;68m 31 \u001b[34m│\u001b[38;2;227;234;242mdescription: Profil pour activer les unattended upgrades sur Ubuntu\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 30 \u001b[34m│\u001b[38;2;227;234;242mdescription: Profil pour activer les unattended upgrades sur Ubuntu\u001b[0m\r\n\u001b[34m│\u001b[38;2;68;68;68m 32 \u001b[34m│\u001b[38;2;227;234;242mdevices: {}\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 31 \u001b[34m│\u001b[38;2;227;234;242mdevices: {}\u001b[0m\r\n"]
|
||||
[24.089763, "o", "\u001b[34m│\u001b[38;2;68;68;68m 33 \u001b[34m│\u001b[38;2;227;234;242mname: unattended-upgrades\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 32 \u001b[34m│\u001b[38;2;227;234;242mname: unattended-upgrades\u001b[0m\r\n"]
|
||||
[24.177301, "o", "\u001b[?25l\u001b[?5W\u001b[?2004h\u001b[>4;2m\u001b[>1u\u001b[?u\r\u001b[J \u001b[38;2;117;113;249;1mMettre à jour le profil unattended-upgrades ?\u001b[m\r\n\n \u001b[48;5;235m \u001b[38;5;254mOui\u001b[39m \u001b[m \u001b[48;5;212m \u001b[38;5;230mNon\u001b[39m \u001b[m\r\n\n\u001b[38;2;98;98;98m←→\u001b[m \u001b[38;2;74;74;74mtoggle\u001b[38;2;60;60;60m • \u001b[38;2;98;98;98menter\u001b[m \u001b[38;2;74;74;74msubmit\u001b[38;2;60;60;60m • \u001b[38;2;98;98;98my\u001b[m \u001b[38;2;74;74;74mOui\u001b[38;2;60;60;60m • \u001b[38;2;98;98;98mn\u001b[m \u001b[38;2;74;74;74mNon\u001b[m"]
|
||||
[27.368148, "o", "\r\u001b[4A\u001b[J\u001b[>4m\u001b[<1u\u001b[J\u001b[?25h\u001b[?2004l"]
|
||||
[27.656893, "o", "\u001b[32m✔\u001b[0m \u001b[1munattended-upgrades\u001b[0m : à jour (depuis profiles/system/unattended-upgrades.profile.yaml)\r\n"]
|
||||
[27.679977, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[30.714977, "o", "\r\u001b[H\u001b[2J\u001b[3J"]
|
||||
[30.749977, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[30.749977, "m", "Import"]
|
||||
[30.784977, "o", "#"]
|
||||
[30.819977, "o", " "]
|
||||
[30.854977, "o", "O"]
|
||||
[30.889977, "o", "r"]
|
||||
[30.924977, "o", " "]
|
||||
[30.959977, "o", "k"]
|
||||
[30.994977, "o", "e"]
|
||||
[31.029977, "o", "e"]
|
||||
[31.064977, "o", "p"]
|
||||
[31.099977, "o", " "]
|
||||
[31.134977, "o", "t"]
|
||||
[31.169977, "o", "h"]
|
||||
[31.204977, "o", "e"]
|
||||
[31.239977, "o", " "]
|
||||
[31.274977, "o", "L"]
|
||||
[31.309977, "o", "X"]
|
||||
[31.344977, "o", "D"]
|
||||
[31.379977, "o", " "]
|
||||
[31.414977, "o", "c"]
|
||||
[31.449977, "o", "h"]
|
||||
[31.484977, "o", "a"]
|
||||
[31.519977, "o", "n"]
|
||||
[31.554977, "o", "g"]
|
||||
[31.589977, "o", "e"]
|
||||
[31.624977, "o", ":"]
|
||||
[31.659977, "o", " "]
|
||||
[31.694977, "o", "i"]
|
||||
[31.729977, "o", "m"]
|
||||
[31.764977, "o", "p"]
|
||||
[31.799977, "o", "o"]
|
||||
[31.834977, "o", "r"]
|
||||
[31.869977, "o", "t"]
|
||||
[31.904977, "o", " "]
|
||||
[31.939977, "o", "t"]
|
||||
[31.974977, "o", "h"]
|
||||
[32.009977, "o", "e"]
|
||||
[32.044977, "o", " "]
|
||||
[32.079977, "o", "p"]
|
||||
[32.114977, "o", "r"]
|
||||
[32.149977, "o", "o"]
|
||||
[32.184977, "o", "f"]
|
||||
[32.219977, "o", "i"]
|
||||
[32.254977, "o", "l"]
|
||||
[32.289977, "o", "e"]
|
||||
[32.324977, "o", " "]
|
||||
[32.359977, "o", "i"]
|
||||
[32.394977, "o", "n"]
|
||||
[32.429977, "o", "t"]
|
||||
[32.464977, "o", "o"]
|
||||
[32.499977, "o", " "]
|
||||
[32.534977, "o", "t"]
|
||||
[32.569977, "o", "h"]
|
||||
[32.604977, "o", "e"]
|
||||
[32.639977, "o", " "]
|
||||
[32.674977, "o", "r"]
|
||||
[32.709977, "o", "e"]
|
||||
[32.744977, "o", "p"]
|
||||
[32.779977, "o", "o"]
|
||||
[32.814977, "o", "s"]
|
||||
[32.849977, "o", "i"]
|
||||
[32.884977, "o", "t"]
|
||||
[32.919977, "o", "o"]
|
||||
[32.954977, "o", "r"]
|
||||
[32.989977, "o", "y"]
|
||||
[33.024977, "o", "\r\n"]
|
||||
[33.028822, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[33.063822, "o", "l"]
|
||||
[33.098822, "o", "x"]
|
||||
[33.133822, "o", "c"]
|
||||
[33.168822, "o", " "]
|
||||
[33.203822, "o", "p"]
|
||||
[33.238822, "o", "r"]
|
||||
[33.273822, "o", "o"]
|
||||
[33.308822, "o", "f"]
|
||||
[33.343822, "o", "i"]
|
||||
[33.378822, "o", "l"]
|
||||
[33.413822, "o", "e"]
|
||||
[33.448822, "o", " "]
|
||||
[33.483822, "o", "s"]
|
||||
[33.518822, "o", "e"]
|
||||
[33.553822, "o", "t"]
|
||||
[33.588822, "o", " "]
|
||||
[33.623822, "o", "u"]
|
||||
[33.658822, "o", "n"]
|
||||
[33.693822, "o", "a"]
|
||||
[33.728822, "o", "t"]
|
||||
[33.763822, "o", "t"]
|
||||
[33.798822, "o", "e"]
|
||||
[33.833822, "o", "n"]
|
||||
[33.868822, "o", "d"]
|
||||
[33.903822, "o", "e"]
|
||||
[33.938822, "o", "d"]
|
||||
[33.973822, "o", "-"]
|
||||
[34.008822, "o", "u"]
|
||||
[34.043822, "o", "p"]
|
||||
[34.078822, "o", "g"]
|
||||
[34.113822, "o", "r"]
|
||||
[34.148822, "o", "a"]
|
||||
[34.183822, "o", "d"]
|
||||
[34.218822, "o", "e"]
|
||||
[34.253822, "o", "s"]
|
||||
[34.288822, "o", " "]
|
||||
[34.323822, "o", "s"]
|
||||
[34.358822, "o", "n"]
|
||||
[34.393822, "o", "a"]
|
||||
[34.428822, "o", "p"]
|
||||
[34.463822, "o", "s"]
|
||||
[34.498822, "o", "h"]
|
||||
[34.533822, "o", "o"]
|
||||
[34.568822, "o", "t"]
|
||||
[34.603822, "o", "s"]
|
||||
[34.638822, "o", "."]
|
||||
[34.673822, "o", "s"]
|
||||
[34.708822, "o", "c"]
|
||||
[34.743822, "o", "h"]
|
||||
[34.778822, "o", "e"]
|
||||
[34.813822, "o", "d"]
|
||||
[34.848822, "o", "u"]
|
||||
[34.883822, "o", "l"]
|
||||
[34.918822, "o", "e"]
|
||||
[34.953822, "o", " "]
|
||||
[34.988822, "o", "@"]
|
||||
[35.023822, "o", "d"]
|
||||
[35.058822, "o", "a"]
|
||||
[35.093822, "o", "i"]
|
||||
[35.128822, "o", "l"]
|
||||
[35.163822, "o", "y"]
|
||||
[35.198822, "o", "\r\n"]
|
||||
[35.522064, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[35.557064, "o", "m"]
|
||||
[35.592064, "o", "i"]
|
||||
[35.627064, "o", "s"]
|
||||
[35.662064, "o", "e"]
|
||||
[35.697064, "o", " "]
|
||||
[35.732064, "o", "r"]
|
||||
[35.767064, "o", "u"]
|
||||
[35.802064, "o", "n"]
|
||||
[35.837064, "o", " "]
|
||||
[35.872064, "o", "i"]
|
||||
[35.907064, "o", "m"]
|
||||
[35.942064, "o", "p"]
|
||||
[35.977064, "o", "o"]
|
||||
[36.012064, "o", "r"]
|
||||
[36.047064, "o", "t"]
|
||||
[36.082064, "o", " "]
|
||||
[36.117064, "o", "u"]
|
||||
[36.152064, "o", "n"]
|
||||
[36.187064, "o", "a"]
|
||||
[36.222064, "o", "t"]
|
||||
[36.257064, "o", "t"]
|
||||
[36.292064, "o", "e"]
|
||||
[36.327064, "o", "n"]
|
||||
[36.362064, "o", "d"]
|
||||
[36.397064, "o", "e"]
|
||||
[36.432064, "o", "d"]
|
||||
[36.467064, "o", "-"]
|
||||
[36.502064, "o", "u"]
|
||||
[36.537064, "o", "p"]
|
||||
[36.572064, "o", "g"]
|
||||
[36.607064, "o", "r"]
|
||||
[36.642064, "o", "a"]
|
||||
[36.677064, "o", "d"]
|
||||
[36.712064, "o", "e"]
|
||||
[36.747064, "o", "s"]
|
||||
[36.782064, "o", "\r\n"]
|
||||
[37.497894, "o", "\u001b[32m✔\u001b[0m \u001b[1munattended-upgrades\u001b[0m → profiles/system/unattended-upgrades.profile.yaml\r\n"]
|
||||
[37.501951, "o", " profiles/system/unattended-upgrades.profile.yaml | 1 \u001b[32m+\u001b[m\r\n 1 file changed, 1 insertion(+)\r\n"]
|
||||
[37.502277, "o", " \u001b[2mgit diff -- profiles/system/unattended-upgrades.profile.yaml pour le détail\u001b[0m\r\n"]
|
||||
[37.563835, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[39.598835, "o", "g"]
|
||||
[39.633835, "o", "i"]
|
||||
[39.668835, "o", "t"]
|
||||
[39.703835, "o", " "]
|
||||
[39.738835, "o", "d"]
|
||||
[39.773835, "o", "i"]
|
||||
[39.808835, "o", "f"]
|
||||
[39.843835, "o", "f"]
|
||||
[39.878835, "o", " "]
|
||||
[39.913835, "o", "p"]
|
||||
[39.948835, "o", "r"]
|
||||
[39.983835, "o", "o"]
|
||||
[40.018835, "o", "f"]
|
||||
[40.053835, "o", "i"]
|
||||
[40.088835, "o", "l"]
|
||||
[40.123835, "o", "e"]
|
||||
[40.158835, "o", "s"]
|
||||
[40.193835, "o", "/"]
|
||||
[40.228835, "o", "\r\n"]
|
||||
[40.239952, "o", "\r\n\u001b[34mΔ profiles/system/unattended-upgrades.profile.yaml\u001b[0m\r\n\u001b[34m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"]
|
||||
[40.240522, "o", "\r\n"]
|
||||
[40.241030, "o", "\u001b[34m──────────────\u001b[0m\u001b[34m┐\u001b[0m\r\n\u001b[34m•\u001b[0m \u001b[34m29\u001b[0m:\u001b[38;2;227;234;242m \u001b[38;2;108;184;230mconfig\u001b[38;2;227;234;242m: \u001b[0m\u001b[34m│\u001b[0m\r\n\u001b[34m──────────────\u001b[0m\u001b[34m┘\u001b[0m\r\n"]
|
||||
[40.241052, "o", "\u001b[34m│\u001b[38;2;68;68;68m 29 \u001b[34m│\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 29 \u001b[34m│\u001b[0m\r\n"]
|
||||
[40.241113, "o", "\u001b[34m│\u001b[38;2;68;68;68m 30 \u001b[34m│\u001b[38;2;227;234;242m \u001b[38;2;108;184;230mruncmd\u001b[38;2;227;234;242m:\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 30 \u001b[34m│\u001b[38;2;227;234;242m \u001b[38;2;108;184;230mruncmd\u001b[38;2;227;234;242m:\u001b[0m\r\n"]
|
||||
[40.241362, "o", "\u001b[34m│\u001b[38;2;68;68;68m 31 \u001b[34m│\u001b[38;2;227;234;242m - [ \u001b[38;2;145;208;118msystemctl\u001b[38;2;227;234;242m, \u001b[38;2;145;208;118menable\u001b[38;2;227;234;242m, \u001b[38;2;145;208;118m--now\u001b[38;2;227;234;242m, \u001b[38;2;145;208;118munattended-upgrades\u001b[38;2;227;234;242m ]\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 31 \u001b[34m│\u001b[38;2;227;234;242m - [ \u001b[38;2;145;208;118msystemctl\u001b[38;2;227;234;242m, \u001b[38;2;145;208;118menable\u001b[38;2;227;234;242m, \u001b[38;2;145;208;118m--now\u001b[38;2;227;234;242m, \u001b[38;2;145;208;118munattended-upgrades\u001b[38;2;227;234;242m ]\u001b[0m\r\n"]
|
||||
[40.241460, "o", "\u001b[34m│\u001b[38;2;68;68;68m \u001b[34m│\u001b[0m \u001b[34m│\u001b[38;5;28m 32 \u001b[34m│\u001b[48;2;0;40;0;38;2;227;234;242m \u001b[38;2;108;184;230msnapshots.schedule\u001b[38;2;227;234;242m: \u001b[38;2;145;208;118m'@daily'\u001b[0m\u001b[48;2;0;40;0m\u001b[0K\u001b[0m\r\n"]
|
||||
[40.246630, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[46.281630, "o", "\r\n"]
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 361 KiB |
@@ -0,0 +1,45 @@
|
||||
# Demo: install a profile, update it after a change in LXD, import it back
|
||||
# (prerequisites: LXD, profile unattended-upgrades not installed; removed at the end)
|
||||
settings:
|
||||
width: 156
|
||||
height: 52
|
||||
type_speed: 35ms
|
||||
prompt: "\e[1;34mlxd\e[0m > "
|
||||
timeout: 120s
|
||||
# bash without rc files: the real prompt (PS1) is used to detect the end of commands
|
||||
shell:
|
||||
program: bash
|
||||
args: [--norc, --noprofile]
|
||||
prompt: AUTOCAST_PROMPT
|
||||
line_split: " \\"
|
||||
quit_command: exit
|
||||
environment:
|
||||
- {name: PS1, value: AUTOCAST_PROMPT}
|
||||
- {name: PROMPT_COMMAND, value: "bind 'set enable-bracketed-paste off'"}
|
||||
|
||||
instructions:
|
||||
- !Command {command: "source demo/setup.sh", hidden: true}
|
||||
- !Marker Install
|
||||
- !Command {command: "# Install a profile from the repository"}
|
||||
- !Command {command: "mise run install unattended-upgrades"}
|
||||
- !Wait 3s
|
||||
- !Clear
|
||||
- !Marker Update
|
||||
- !Command {command: "# Someone changes the profile directly in LXD..."}
|
||||
- !Command {command: "lxc profile set unattended-upgrades snapshots.schedule @daily"}
|
||||
- !Command {command: "mise run list | grep unattended"}
|
||||
- !Wait 3s
|
||||
- !Command {command: "# Installing again shows the diff and asks for confirmation"}
|
||||
- !Interactive
|
||||
command: "mise run install unattended-upgrades"
|
||||
keys: [4s, y]
|
||||
- !Wait 3s
|
||||
- !Clear
|
||||
- !Marker Import
|
||||
- !Command {command: "# Or keep the LXD change: import the profile into the repository"}
|
||||
- !Command {command: "lxc profile set unattended-upgrades snapshots.schedule @daily"}
|
||||
- !Command {command: "mise run import unattended-upgrades"}
|
||||
- !Wait 2s
|
||||
- !Command {command: "git diff profiles/"}
|
||||
- !Wait 6s
|
||||
- !Command {command: "demo_cleanup", hidden: true}
|
||||
@@ -0,0 +1,19 @@
|
||||
# shellcheck shell=bash
|
||||
# Hidden preamble of the demos (autocast), sourced from the repository root:
|
||||
# mise activated, delta as git pager, demo profile absent from LXD.
|
||||
eval "$(mise activate bash)"
|
||||
export GIT_PAGER="delta --paging=never"
|
||||
DEMO_PROFILE=unattended-upgrades
|
||||
DEMO_FILE=profiles/system/unattended-upgrades.profile.yaml
|
||||
if lxc profile show "$DEMO_PROFILE" >/dev/null 2>&1; then
|
||||
echo "Profile $DEMO_PROFILE is already installed in LXD: the demo would modify it" >&2
|
||||
exit 1
|
||||
fi
|
||||
# Demo epilogue: restore the repository file as it was before the demo
|
||||
# (uncommitted changes included) and remove the demo profile
|
||||
DEMO_BACKUP=$(mktemp)
|
||||
cp "$DEMO_FILE" "$DEMO_BACKUP"
|
||||
demo_cleanup() {
|
||||
cp "$DEMO_BACKUP" "$DEMO_FILE" && rm -f "$DEMO_BACKUP"
|
||||
lxc profile delete "$DEMO_PROFILE" >/dev/null 2>&1 </dev/null
|
||||
}
|
||||
+359
@@ -0,0 +1,359 @@
|
||||
{"version": 2, "width": 156, "height": 52, "timestamp": 1795268580, "duration": 41.285893, "env": {"PS1": "AUTOCAST_PROMPT", "PROMPT_COMMAND": "bind 'set enable-bracketed-paste off'", "TERM": "xterm-256color", "SHELL": "/usr/bin/bash"}}
|
||||
[0.000000, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[0.000000, "m", "Welcome"]
|
||||
[0.035000, "o", "#"]
|
||||
[0.070000, "o", " "]
|
||||
[0.105000, "o", "E"]
|
||||
[0.140000, "o", "n"]
|
||||
[0.175000, "o", "t"]
|
||||
[0.210000, "o", "e"]
|
||||
[0.245000, "o", "r"]
|
||||
[0.280000, "o", "i"]
|
||||
[0.315000, "o", "n"]
|
||||
[0.350000, "o", "g"]
|
||||
[0.385000, "o", " "]
|
||||
[0.420000, "o", "t"]
|
||||
[0.455000, "o", "h"]
|
||||
[0.490000, "o", "e"]
|
||||
[0.525000, "o", " "]
|
||||
[0.560000, "o", "r"]
|
||||
[0.595000, "o", "e"]
|
||||
[0.630000, "o", "p"]
|
||||
[0.665000, "o", "o"]
|
||||
[0.700000, "o", "s"]
|
||||
[0.735000, "o", "i"]
|
||||
[0.770000, "o", "t"]
|
||||
[0.805000, "o", "o"]
|
||||
[0.840000, "o", "r"]
|
||||
[0.875000, "o", "y"]
|
||||
[0.910000, "o", " "]
|
||||
[0.945000, "o", "d"]
|
||||
[0.980000, "o", "i"]
|
||||
[1.015000, "o", "s"]
|
||||
[1.050000, "o", "p"]
|
||||
[1.085000, "o", "l"]
|
||||
[1.120000, "o", "a"]
|
||||
[1.155000, "o", "y"]
|
||||
[1.190000, "o", "s"]
|
||||
[1.225000, "o", " "]
|
||||
[1.260000, "o", "a"]
|
||||
[1.295000, "o", " "]
|
||||
[1.330000, "o", "s"]
|
||||
[1.365000, "o", "h"]
|
||||
[1.400000, "o", "o"]
|
||||
[1.435000, "o", "r"]
|
||||
[1.470000, "o", "t"]
|
||||
[1.505000, "o", " "]
|
||||
[1.540000, "o", "h"]
|
||||
[1.575000, "o", "e"]
|
||||
[1.610000, "o", "l"]
|
||||
[1.645000, "o", "p"]
|
||||
[1.680000, "o", " "]
|
||||
[1.715000, "o", "("]
|
||||
[1.750000, "o", "m"]
|
||||
[1.785000, "o", "i"]
|
||||
[1.820000, "o", "s"]
|
||||
[1.855000, "o", "e"]
|
||||
[1.890000, "o", " "]
|
||||
[1.925000, "o", "e"]
|
||||
[1.960000, "o", "n"]
|
||||
[1.995000, "o", "t"]
|
||||
[2.030000, "o", "e"]
|
||||
[2.065000, "o", "r"]
|
||||
[2.100000, "o", " "]
|
||||
[2.135000, "o", "h"]
|
||||
[2.170000, "o", "o"]
|
||||
[2.205000, "o", "o"]
|
||||
[2.240000, "o", "k"]
|
||||
[2.275000, "o", ")"]
|
||||
[2.310000, "o", "\r\n"]
|
||||
[2.314410, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[2.349410, "o", "c"]
|
||||
[2.384410, "o", "d"]
|
||||
[2.419410, "o", " "]
|
||||
[2.454410, "o", "l"]
|
||||
[2.489410, "o", "x"]
|
||||
[2.524410, "o", "d"]
|
||||
[2.559410, "o", "\r\n"]
|
||||
[2.901118, "o", "\r\n \u001b[36m╭────────────────────────────────────────────────────────╮\u001b[0m\r\n \u001b[36m│\u001b[0m 📦 \u001b[1mlxd-profiles\u001b[0m · profils et réseaux LXD \u001b[36m│\u001b[0m\r\n \u001b[36m╰────────────────────────────────────────────────────────╯\u001b[0m\r\n\r\n 🗂️ \u001b[1mProfils\u001b[0m\r\n ▸ mise run list [--all] \u001b[2mprofils du dépôt et état dans LXD (✅ ⚠️ ⬜ 🔹)\u001b[0m\r\n ▸ mise run show [profil] [--lxd] \u001b[2mcontenu d'un profil (dépôt ou LXD)\u001b[0m\r\n ▸ mise run diff [profil...] \u001b[2mdiff installé (LXD) → dépôt\u001b[0m\r\n ▸ mise run install [profil...] \u001b[2mcrée / met à jour (diff + confirmation, --all, --yes)\u001b[0m\r\n ▸ mise run import [profil] [f] \u001b[2mexporte un profil LXD vers le dépôt (puis git diff)\u001b[0m\r\n\r\n \u001b[2mprofil = nom (ex. docker) ou fichier (ex. profiles/containerization/docker.profile.yaml)\u001b[0m\r\n 💡 \u001b[2mmise tasks pour lister toutes les tâches\u001b[0m\r\n\r\n"]
|
||||
[2.957167, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[7.992167, "o", "\r\u001b[H\u001b[2J\u001b[3J"]
|
||||
[8.027167, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[8.027167, "m", "List"]
|
||||
[8.062167, "o", "#"]
|
||||
[8.097167, "o", " "]
|
||||
[8.132167, "o", "R"]
|
||||
[8.167167, "o", "e"]
|
||||
[8.202167, "o", "p"]
|
||||
[8.237167, "o", "o"]
|
||||
[8.272167, "o", "s"]
|
||||
[8.307167, "o", "i"]
|
||||
[8.342167, "o", "t"]
|
||||
[8.377167, "o", "o"]
|
||||
[8.412167, "o", "r"]
|
||||
[8.447167, "o", "y"]
|
||||
[8.482167, "o", " "]
|
||||
[8.517167, "o", "p"]
|
||||
[8.552167, "o", "r"]
|
||||
[8.587167, "o", "o"]
|
||||
[8.622167, "o", "f"]
|
||||
[8.657167, "o", "i"]
|
||||
[8.692167, "o", "l"]
|
||||
[8.727167, "o", "e"]
|
||||
[8.762167, "o", "s"]
|
||||
[8.797167, "o", " "]
|
||||
[8.832167, "o", "a"]
|
||||
[8.867167, "o", "n"]
|
||||
[8.902167, "o", "d"]
|
||||
[8.937167, "o", " "]
|
||||
[8.972167, "o", "t"]
|
||||
[9.007167, "o", "h"]
|
||||
[9.042167, "o", "e"]
|
||||
[9.077167, "o", "i"]
|
||||
[9.112167, "o", "r"]
|
||||
[9.147167, "o", " "]
|
||||
[9.182167, "o", "s"]
|
||||
[9.217167, "o", "t"]
|
||||
[9.252167, "o", "a"]
|
||||
[9.287167, "o", "t"]
|
||||
[9.322167, "o", "e"]
|
||||
[9.357167, "o", " "]
|
||||
[9.392167, "o", "i"]
|
||||
[9.427167, "o", "n"]
|
||||
[9.462167, "o", " "]
|
||||
[9.497167, "o", "L"]
|
||||
[9.532167, "o", "X"]
|
||||
[9.567167, "o", "D"]
|
||||
[9.602167, "o", "\r\n"]
|
||||
[9.611573, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[9.646573, "o", "m"]
|
||||
[9.681573, "o", "i"]
|
||||
[9.716573, "o", "s"]
|
||||
[9.751573, "o", "e"]
|
||||
[9.786573, "o", " "]
|
||||
[9.821573, "o", "r"]
|
||||
[9.856573, "o", "u"]
|
||||
[9.891573, "o", "n"]
|
||||
[9.926573, "o", " "]
|
||||
[9.961573, "o", "l"]
|
||||
[9.996573, "o", "i"]
|
||||
[10.031573, "o", "s"]
|
||||
[10.066573, "o", "t"]
|
||||
[10.101573, "o", "\r\n"]
|
||||
[10.596928, "o", " \u001b[1m PROFIL DESCRIPTION UTILISÉ FICHIER\u001b[0m\r\n"]
|
||||
[11.426846, "o", " ✅ \u001b[32mapp-backrest \u001b[0m \u001b[2mInstall backrest and its restic (web UI on port 9…\u001b[0m 1 \u001b[2mprofiles/applications/app-backrest.profile.yaml\u001b[0m\r\n"]
|
||||
[11.674365, "o", " ✅ \u001b[32mapp-gitea \u001b[0m \u001b[2mInstall gitea\u001b[0m 1 \u001b[2mprofiles/applications/app-gitea.profile.yaml\u001b[0m\r\n"]
|
||||
[11.693348, "o", " ⬜ \u001b[2mapp-mariadb \u001b[0m \u001b[2mInstall mariadb\u001b[0m - \u001b[2mprofiles/applications/app-mariadb.profile.yaml\u001b[0m\r\n"]
|
||||
[11.948767, "o", " ✅ \u001b[32mapp-nextcloud \u001b[0m \u001b[2mInstall Nextcloud\u001b[0m 1 \u001b[2mprofiles/applications/app-nextcloud.profile.yaml\u001b[0m\r\n"]
|
||||
[11.966446, "o", " ⬜ \u001b[2mapp-ollama \u001b[0m \u001b[2mLXD Profile to launch a private ollama instance\u001b[0m - \u001b[2mprofiles/applications/app-ollama.profile.yaml\u001b[0m\r\n"]
|
||||
[11.988154, "o", " ⬜ \u001b[2mapp-pydio \u001b[0m \u001b[2mInstall pydio cells\u001b[0m - \u001b[2mprofiles/applications/app-pydio.profile.yaml\u001b[0m\r\n"]
|
||||
[12.005475, "o", " ⬜ \u001b[2mapp-streamrip \u001b[0m \u001b[2mInstall streamrip (https://github.com/nathom/stre…\u001b[0m - \u001b[2mprofiles/applications/app-streamrip.profile.yaml\u001b[0m\r\n"]
|
||||
[12.016744, "o", " ⬜ \u001b[2mcoolify \u001b[0m \u001b[2mA profile that deploy Coolify in an LXD container\u001b[0m - \u001b[2mprofiles/containerization/coolify.profile.yaml\u001b[0m\r\n"]
|
||||
[12.196605, "o", " ✅ \u001b[32mdocker \u001b[0m \u001b[2mA profile that deploy docker in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/docker.profile.yaml\u001b[0m\r\n"]
|
||||
[12.212211, "o", " ⬜ \u001b[2mdocker-unprivileged \u001b[0m \u001b[2mA profile that deploy docker in an unprivileged L…\u001b[0m - \u001b[2mprofiles/containerization/docker-unprivileged.profile.yaml\u001b[0m\r\n"]
|
||||
[12.422711, "o", " ✅ \u001b[32mdocker-volume-data \u001b[0m \u001b[2mA profile that add a volume for docker data\u001b[0m 1 \u001b[2mprofiles/containerization/docker-volume-data.profile.yaml\u001b[0m\r\n"]
|
||||
[12.617746, "o", " ✅ \u001b[32mdocker-volume-manifests \u001b[0m \u001b[2mA profile that mount a manifests directory from t…\u001b[0m 1 \u001b[2mprofiles/containerization/docker-volume-manifests.profile.yaml\u001b[0m\r\n"]
|
||||
[12.828581, "o", " ✅ \u001b[32mdokploy \u001b[0m \u001b[2mA profile that deploy Dokploy in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/dokploy.profile.yaml\u001b[0m\r\n"]
|
||||
[12.837477, "o", " ⬜ \u001b[2mfrontback \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m - \u001b[2mprofiles/networking/frontback.profile.yaml\u001b[0m\r\n"]
|
||||
[12.854604, "o", " ⬜ \u001b[2mlxd-host-socket \u001b[0m \u001b[2mPermet à un container d'accéder au démon LXD de l…\u001b[0m - \u001b[2mprofiles/containerization/lxd-host-socket.profile.yaml\u001b[0m\r\n"]
|
||||
[13.125306, "o", " ✅ \u001b[32mmicrok8s \u001b[0m \u001b[2mA profile that deploy microk8s in an LXD container\u001b[0m 1 \u001b[2mprofiles/containerization/microk8s.profile.yaml\u001b[0m\r\n"]
|
||||
[13.385615, "o", " ✅ \u001b[32mmicrok8s-config \u001b[0m \u001b[2mA profile that add cloud-init user data to bootst…\u001b[0m 1 \u001b[2mprofiles/containerization/microk8s-config.profile.yaml\u001b[0m\r\n"]
|
||||
[13.604586, "o", " ✅ \u001b[32mnet-back \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m 1 \u001b[2mprofiles/networking/net-back.profile.yaml\u001b[0m\r\n"]
|
||||
[13.867581, "o", " ✅ \u001b[32mnet-front \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m 7 \u001b[2mprofiles/networking/net-front.profile.yaml\u001b[0m\r\n"]
|
||||
[13.883562, "o", " ⬜ \u001b[2mnet-home \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m - \u001b[2mprofiles/networking/net-home.profile.yaml\u001b[0m\r\n"]
|
||||
[14.132917, "o", " ✅ \u001b[32mnet-public \u001b[0m \u001b[2mProfile that provide a network interface attached…\u001b[0m 0 \u001b[2mprofiles/networking/net-public.profile.yaml\u001b[0m\r\n"]
|
||||
[14.409005, "o", " ✅ \u001b[32mpostgresql \u001b[0m \u001b[2mInstall postgresql\u001b[0m 1 \u001b[2mprofiles/applications/postgresql.profile.yaml\u001b[0m\r\n"]
|
||||
[14.654370, "o", " ⚠️ \u001b[33mpostgresql-snap \u001b[0m \u001b[2mInstall postgresql (snap)\u001b[0m 0 \u001b[2mprofiles/applications/postgresql-snap.profile.yaml\u001b[0m\r\n"]
|
||||
[14.969071, "o", " ✅ \u001b[32mproxy-docker \u001b[0m \u001b[2mExpose private docker sock via tcp on the host\u001b[0m 0 \u001b[2mprofiles/proxy/proxy-docker.profile.yaml\u001b[0m\r\n"]
|
||||
[14.987994, "o", " ⬜ \u001b[2mproxy-docker-unix \u001b[0m \u001b[2mExpose the Docker socket as a Unix socket\u001b[0m - \u001b[2mprofiles/proxy/proxy-docker-unix.profile.yaml\u001b[0m\r\n"]
|
||||
[15.246125, "o", " ⚠️ \u001b[33mproxy-http \u001b[0m \u001b[2mProxify http traffic to the instance\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-http.profile.yaml\u001b[0m\r\n"]
|
||||
[15.477396, "o", " ⚠️ \u001b[33mproxy-https \u001b[0m \u001b[2mProxify https traffic to the instance\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-https.profile.yaml\u001b[0m\r\n"]
|
||||
[15.646587, "o", " ✅ \u001b[32mproxy-stun-turn \u001b[0m \u001b[2mProxify STUN /TURN\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-stun-turn.profile.yaml\u001b[0m\r\n"]
|
||||
[15.858563, "o", " ✅ \u001b[32mproxy-taskwarrior \u001b[0m \u001b[2mProxify taskwarrior server tcp traffic to the ins…\u001b[0m 1 \u001b[2mprofiles/proxy/proxy-taskwarrior.profile.yaml\u001b[0m\r\n"]
|
||||
[15.871564, "o", " ⬜ \u001b[2mpublic-gateway \u001b[0m \u001b[2mNetwork configuration for public gateway (attache…\u001b[0m - \u001b[2mprofiles/networking/public-gateway.profile.yaml\u001b[0m\r\n"]
|
||||
[16.017826, "o", " ✅ \u001b[32msize-large \u001b[0m \u001b[2mLarge sized instance limits (4 CPU, 8GB RAM)\u001b[0m 2 \u001b[2mprofiles/limits/size-large.profile.yaml\u001b[0m\r\n"]
|
||||
[16.193074, "o", " ✅ \u001b[32msize-medium \u001b[0m \u001b[2mMedium sized instance limits (2 CPU, 4GB RAM)\u001b[0m 2 \u001b[2mprofiles/limits/size-medium.profile.yaml\u001b[0m\r\n"]
|
||||
[16.447753, "o", " ✅ \u001b[32msize-small \u001b[0m \u001b[2mSmall sized instance limits (1 CPU, 2GB RAM)\u001b[0m 3 \u001b[2mprofiles/limits/size-small.profile.yaml\u001b[0m\r\n"]
|
||||
[16.642128, "o", " ✅ \u001b[32msnapshots-daily \u001b[0m \u001b[2mTake an automatic snapshot daily and keep it for …\u001b[0m 4 \u001b[2mprofiles/snapshots/snapshots-daily.profile.yaml\u001b[0m\r\n"]
|
||||
[16.773482, "o", " ✅ \u001b[32msnapshots-weekly \u001b[0m \u001b[2mTake an automatic snapshot weekly and keep it for…\u001b[0m 0 \u001b[2mprofiles/snapshots/snapshots-weekly.profile.yaml\u001b[0m\r\n"]
|
||||
[16.890988, "o", " ✅ \u001b[32mstorage-btrfs \u001b[0m \u001b[2mroot device on btrfs pool\u001b[0m 1 \u001b[2mprofiles/storage/storage-btrfs.profile.yaml\u001b[0m\r\n"]
|
||||
[17.007700, "o", " ✅ \u001b[32mstorage-zfs \u001b[0m \u001b[2mroot device on zfs pool\u001b[0m 9 \u001b[2mprofiles/storage/storage-zfs.profile.yaml\u001b[0m\r\n"]
|
||||
[17.127493, "o", " ✅ \u001b[32mtraefik \u001b[0m \u001b[2mInstall traefik\u001b[0m 1 \u001b[2mprofiles/applications/traefik.profile.yaml\u001b[0m\r\n"]
|
||||
[17.252481, "o", " ✅ \u001b[32mtraefik-volume-config \u001b[0m \u001b[2mVolume to mount traefik config dir from host\u001b[0m 1 \u001b[2mprofiles/applications/traefik-volume-config.profile.yaml\u001b[0m\r\n"]
|
||||
[17.260601, "o", " ⬜ \u001b[2munattended-upgrades \u001b[0m \u001b[2mProfil pour activer les unattended upgrades sur U…\u001b[0m - \u001b[2mprofiles/system/unattended-upgrades.profile.yaml\u001b[0m\r\n"]
|
||||
[17.269001, "o", " ⬜ \u001b[2muser-xavier \u001b[0m \u001b[2mPersonnal environment for Xavier\u001b[0m - \u001b[2mprofiles/users/xavier.profile.yaml\u001b[0m\r\n"]
|
||||
[17.381289, "o", " ✅ \u001b[32mvolume-gitea-data \u001b[0m \u001b[2mVolume des données Gitea (snapshots quotidiens po…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-gitea-data.profile.yaml\u001b[0m\r\n"]
|
||||
[17.497291, "o", " ✅ \u001b[32mvolume-gitea-data-ro \u001b[0m \u001b[2mVolume des données Gitea en lecture seule (instan…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-gitea-data-ro.profile.yaml\u001b[0m\r\n"]
|
||||
[17.619346, "o", " ✅ \u001b[32mvolume-letsencrypt \u001b[0m \u001b[2mVolume contenant les certificats letsencrypt du h…\u001b[0m 3 \u001b[2mprofiles/volumes/volume-letsencrypt.profile.yaml\u001b[0m\r\n"]
|
||||
[17.744026, "o", " ✅ \u001b[32mvolume-nextcloud-data \u001b[0m \u001b[2mVolume des données Nextcloud (snapshots quotidien…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-nextcloud-data.profile.yaml\u001b[0m\r\n"]
|
||||
[17.868469, "o", " ✅ \u001b[32mvolume-nextcloud-data-ro\u001b[0m \u001b[2mVolume des données Nextcloud en lecture seule (in…\u001b[0m 1 \u001b[2mprofiles/volumes/volume-nextcloud-data-ro.profile.yaml\u001b[0m\r\n"]
|
||||
[17.868962, "o", "\r\n"]
|
||||
[17.869607, "o", " ✅ 30 à jour ⚠️ 3 différent(s) \u001b[2m(mise run diff)\u001b[0m ⬜ 13 non installé(s) 🔹 3 hors dépôt\u001b[2m (--all)\u001b[0m\r\n"]
|
||||
[17.922433, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[23.957433, "o", "\r\u001b[H\u001b[2J\u001b[3J"]
|
||||
[23.992433, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[23.992433, "m", "Show"]
|
||||
[24.027433, "o", "#"]
|
||||
[24.062433, "o", " "]
|
||||
[24.097433, "o", "C"]
|
||||
[24.132433, "o", "o"]
|
||||
[24.167433, "o", "n"]
|
||||
[24.202433, "o", "t"]
|
||||
[24.237433, "o", "e"]
|
||||
[24.272433, "o", "n"]
|
||||
[24.307433, "o", "t"]
|
||||
[24.342433, "o", " "]
|
||||
[24.377433, "o", "o"]
|
||||
[24.412433, "o", "f"]
|
||||
[24.447433, "o", " "]
|
||||
[24.482433, "o", "a"]
|
||||
[24.517433, "o", " "]
|
||||
[24.552433, "o", "r"]
|
||||
[24.587433, "o", "e"]
|
||||
[24.622433, "o", "p"]
|
||||
[24.657433, "o", "o"]
|
||||
[24.692433, "o", "s"]
|
||||
[24.727433, "o", "i"]
|
||||
[24.762433, "o", "t"]
|
||||
[24.797433, "o", "o"]
|
||||
[24.832433, "o", "r"]
|
||||
[24.867433, "o", "y"]
|
||||
[24.902433, "o", " "]
|
||||
[24.937433, "o", "p"]
|
||||
[24.972433, "o", "r"]
|
||||
[25.007433, "o", "o"]
|
||||
[25.042433, "o", "f"]
|
||||
[25.077433, "o", "i"]
|
||||
[25.112433, "o", "l"]
|
||||
[25.147433, "o", "e"]
|
||||
[25.182433, "o", "\r\n"]
|
||||
[25.186709, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[25.221709, "o", "m"]
|
||||
[25.256709, "o", "i"]
|
||||
[25.291709, "o", "s"]
|
||||
[25.326709, "o", "e"]
|
||||
[25.361709, "o", " "]
|
||||
[25.396709, "o", "r"]
|
||||
[25.431709, "o", "u"]
|
||||
[25.466709, "o", "n"]
|
||||
[25.501709, "o", " "]
|
||||
[25.536709, "o", "s"]
|
||||
[25.571709, "o", "h"]
|
||||
[25.606709, "o", "o"]
|
||||
[25.641709, "o", "w"]
|
||||
[25.676709, "o", " "]
|
||||
[25.711709, "o", "s"]
|
||||
[25.746709, "o", "i"]
|
||||
[25.781709, "o", "z"]
|
||||
[25.816709, "o", "e"]
|
||||
[25.851709, "o", "-"]
|
||||
[25.886709, "o", "s"]
|
||||
[25.921709, "o", "m"]
|
||||
[25.956709, "o", "a"]
|
||||
[25.991709, "o", "l"]
|
||||
[26.026709, "o", "l"]
|
||||
[26.061709, "o", "\r\n"]
|
||||
[26.532496, "o", "\u001b]10;?\u0007\u001b]11;?\u0007\u001b[c"]
|
||||
[27.537451, "o", "\u001b[38;2;131;148;150m─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n \u001b[38;2;131;148;150m│ \u001b[0mFile: \u001b[1mprofiles/limits/size-small.profile.yaml\u001b[0m\r\n\u001b[38;2;131;148;150m─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"]
|
||||
[27.538461, "o", "\u001b[38;2;131;148;150m 1\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mname\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116msize-small\u001b[0m\r\n"]
|
||||
[27.538638, "o", "\u001b[38;2;131;148;150m 2\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mdescription\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116mSmall sized instance limits (1 CPU, 2GB RAM)\u001b[0m\r\n"]
|
||||
[27.538691, "o", "\u001b[38;2;131;148;150m 3\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;249;38;114mconfig\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\r\n"]
|
||||
[27.538849, "o", "\u001b[38;2;131;148;150m 4\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;249;38;114mlimits.cpu\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116m\"\u001b[0m\u001b[38;2;230;219;116m1\u001b[0m\u001b[38;2;230;219;116m\"\u001b[0m\r\n"]
|
||||
[27.538965, "o", "\u001b[38;2;131;148;150m 5\u001b[0m \u001b[38;2;131;148;150m│\u001b[0m \u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;249;38;114mlimits.memory\u001b[0m\u001b[38;2;248;248;242m:\u001b[0m\u001b[38;2;248;248;242m \u001b[0m\u001b[38;2;230;219;116m2GB\u001b[0m\r\n\u001b[38;2;131;148;150m─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"]
|
||||
[27.550575, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[31.585575, "o", "\r\u001b[H\u001b[2J\u001b[3J"]
|
||||
[31.620575, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[31.620575, "m", "Diff"]
|
||||
[31.655575, "o", "#"]
|
||||
[31.690575, "o", " "]
|
||||
[31.725575, "o", "W"]
|
||||
[31.760575, "o", "h"]
|
||||
[31.795575, "o", "a"]
|
||||
[31.830575, "o", "t"]
|
||||
[31.865575, "o", " "]
|
||||
[31.900575, "o", "d"]
|
||||
[31.935575, "o", "i"]
|
||||
[31.970575, "o", "f"]
|
||||
[32.005575, "o", "f"]
|
||||
[32.040575, "o", "e"]
|
||||
[32.075575, "o", "r"]
|
||||
[32.110575, "o", "s"]
|
||||
[32.145575, "o", " "]
|
||||
[32.180575, "o", "b"]
|
||||
[32.215575, "o", "e"]
|
||||
[32.250575, "o", "t"]
|
||||
[32.285575, "o", "w"]
|
||||
[32.320575, "o", "e"]
|
||||
[32.355575, "o", "e"]
|
||||
[32.390575, "o", "n"]
|
||||
[32.425575, "o", " "]
|
||||
[32.460575, "o", "L"]
|
||||
[32.495575, "o", "X"]
|
||||
[32.530575, "o", "D"]
|
||||
[32.565575, "o", " "]
|
||||
[32.600575, "o", "("]
|
||||
[32.635575, "o", "i"]
|
||||
[32.670575, "o", "n"]
|
||||
[32.705575, "o", "s"]
|
||||
[32.740575, "o", "t"]
|
||||
[32.775575, "o", "a"]
|
||||
[32.810575, "o", "l"]
|
||||
[32.845575, "o", "l"]
|
||||
[32.880575, "o", "e"]
|
||||
[32.915575, "o", "d"]
|
||||
[32.950575, "o", ")"]
|
||||
[32.985575, "o", " "]
|
||||
[33.020575, "o", "a"]
|
||||
[33.055575, "o", "n"]
|
||||
[33.090575, "o", "d"]
|
||||
[33.125575, "o", " "]
|
||||
[33.160575, "o", "t"]
|
||||
[33.195575, "o", "h"]
|
||||
[33.230575, "o", "e"]
|
||||
[33.265575, "o", " "]
|
||||
[33.300575, "o", "r"]
|
||||
[33.335575, "o", "e"]
|
||||
[33.370575, "o", "p"]
|
||||
[33.405575, "o", "o"]
|
||||
[33.440575, "o", "s"]
|
||||
[33.475575, "o", "i"]
|
||||
[33.510575, "o", "t"]
|
||||
[33.545575, "o", "o"]
|
||||
[33.580575, "o", "r"]
|
||||
[33.615575, "o", "y"]
|
||||
[33.650575, "o", "\r\n"]
|
||||
[33.654344, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[33.689344, "o", "m"]
|
||||
[33.724344, "o", "i"]
|
||||
[33.759344, "o", "s"]
|
||||
[33.794344, "o", "e"]
|
||||
[33.829344, "o", " "]
|
||||
[33.864344, "o", "r"]
|
||||
[33.899344, "o", "u"]
|
||||
[33.934344, "o", "n"]
|
||||
[33.969344, "o", " "]
|
||||
[34.004344, "o", "d"]
|
||||
[34.039344, "o", "i"]
|
||||
[34.074344, "o", "f"]
|
||||
[34.109344, "o", "f"]
|
||||
[34.144344, "o", " "]
|
||||
[34.179344, "o", "p"]
|
||||
[34.214344, "o", "r"]
|
||||
[34.249344, "o", "o"]
|
||||
[34.284344, "o", "x"]
|
||||
[34.319344, "o", "y"]
|
||||
[34.354344, "o", "-"]
|
||||
[34.389344, "o", "h"]
|
||||
[34.424344, "o", "t"]
|
||||
[34.459344, "o", "t"]
|
||||
[34.494344, "o", "p"]
|
||||
[34.529344, "o", "\r\n"]
|
||||
[35.240042, "o", "\r\n\u001b[34mΔ lxd:proxy-http (installé) ⟶ profiles/proxy/proxy-http.profile.yaml (dépôt)\u001b[0m\r\n\u001b[34m────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────\u001b[0m\r\n"]
|
||||
[35.240363, "o", "\r\n\u001b[34m─────\u001b[0m\u001b[34m┐\u001b[0m\r\n\u001b[34m•\u001b[0m \u001b[34m4\u001b[0m: \u001b[34m│\u001b[0m\r\n\u001b[34m─────\u001b[0m\u001b[34m┘\u001b[0m\r\n"]
|
||||
[35.240427, "o", "\u001b[34m│\u001b[38;2;68;68;68m 4 \u001b[34m│\u001b[38;2;227;234;242m hostport80:\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 4 \u001b[34m│\u001b[38;2;227;234;242m hostport80:\u001b[0m\r\n"]
|
||||
[35.240445, "o", "\u001b[34m│\u001b[38;2;68;68;68m 5 \u001b[34m│\u001b[38;2;227;234;242m connect: tcp:127.0.0.1:80\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 5 \u001b[34m│\u001b[38;2;227;234;242m connect: tcp:127.0.0.1:80\u001b[0m\r\n"]
|
||||
[35.240472, "o", "\u001b[34m│\u001b[38;2;68;68;68m 6 \u001b[34m│\u001b[38;2;227;234;242m listen: tcp:0.0.0.0:80\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 6 \u001b[34m│\u001b[38;2;227;234;242m listen: tcp:0.0.0.0:80\u001b[0m\r\n"]
|
||||
[35.240529, "o", "\u001b[34m│\u001b[38;5;88m 7 \u001b[34m│\u001b[48;2;63;0;1;38;2;227;234;242m proxy_protocol: \"true\"\u001b[0m\u001b[48;2;63;0;1m \u001b[0m\u001b[34m│\u001b[38;2;68;68;68m \u001b[34m│\u001b[0m\r\n\u001b[34m│\u001b[38;2;68;68;68m 8 \u001b[34m│\u001b[38;2;227;234;242m type: proxy\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 7 \u001b[34m│\u001b[38;2;227;234;242m type: proxy\u001b[0m\r\n"]
|
||||
[35.240549, "o", "\u001b[34m│\u001b[38;2;68;68;68m 9 \u001b[34m│\u001b[38;2;227;234;242mname: proxy-http\u001b[0m \u001b[34m│\u001b[38;2;68;68;68m 8 \u001b[34m│\u001b[38;2;227;234;242mname: proxy-http\u001b[0m\r\n"]
|
||||
[35.250893, "o", "\u001b[1;34mlxd\u001b[0m > "]
|
||||
[41.285893, "o", "\r\n"]
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 556 KiB |
@@ -0,0 +1,40 @@
|
||||
# Demo: welcome message, profile list, profile content and diff (read only)
|
||||
settings:
|
||||
width: 156
|
||||
height: 52
|
||||
type_speed: 35ms
|
||||
prompt: "\e[1;34mlxd\e[0m > "
|
||||
timeout: 120s
|
||||
# bash without rc files: the real prompt (PS1) is used to detect the end of commands
|
||||
shell:
|
||||
program: bash
|
||||
args: [--norc, --noprofile]
|
||||
prompt: AUTOCAST_PROMPT
|
||||
line_split: " \\"
|
||||
quit_command: exit
|
||||
environment:
|
||||
- {name: PS1, value: AUTOCAST_PROMPT}
|
||||
- {name: PROMPT_COMMAND, value: "bind 'set enable-bracketed-paste off'"}
|
||||
|
||||
instructions:
|
||||
# From the parent directory, to trigger the mise enter hook
|
||||
- !Command {command: "source demo/setup.sh && cd ..", hidden: true}
|
||||
- !Marker Welcome
|
||||
- !Command {command: "# Entering the repository displays a short help (mise enter hook)"}
|
||||
- !Command {command: "cd lxd"}
|
||||
- !Wait 5s
|
||||
- !Clear
|
||||
- !Marker List
|
||||
- !Command {command: "# Repository profiles and their state in LXD"}
|
||||
- !Command {command: "mise run list"}
|
||||
- !Wait 6s
|
||||
- !Clear
|
||||
- !Marker Show
|
||||
- !Command {command: "# Content of a repository profile"}
|
||||
- !Command {command: "mise run show size-small"}
|
||||
- !Wait 4s
|
||||
- !Clear
|
||||
- !Marker Diff
|
||||
- !Command {command: "# What differs between LXD (installed) and the repository"}
|
||||
- !Command {command: "mise run diff proxy-http"}
|
||||
- !Wait 6s
|
||||
Reference in new issue
Block a user