From 57e6c1a52d424a82fad0244fa6599f85727f3ef9 Mon Sep 17 00:00:00 2001 From: Yanks Yoon Date: Mon, 15 Jul 2024 12:41:43 +0000 Subject: [PATCH] docs: update naming limit for lxd app --- docs/how-to/run-on-lxd.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/how-to/run-on-lxd.md b/docs/how-to/run-on-lxd.md index 35aa2937e..948ce9871 100644 --- a/docs/how-to/run-on-lxd.md +++ b/docs/how-to/run-on-lxd.md @@ -7,7 +7,15 @@ By default, juju machines on LXD are containers. To run this charm on LXD, add `virt-type=virtual-machine` to the constraints during deployment: ```shell -juju deploy github-runner --constraints="cores=2 mem=16G virt-type=virtual-machine" --config token= --config path= +juju deploy github-runner --constraints="cores=2 mem=16G virt-type=virtual-machine" \ +--config token= --config path= ``` -This constraint ensures the juju machine hosting the charm is a LXD virtual machine. See [Managing resource usage](https://charmhub.io/github-runner/docs/managing-resource-usage) for recommendation on `cores` and `mem` constraint. \ No newline at end of file +This constraint ensures the juju machine hosting the charm is a LXD virtual machine. See +[Managing resource usage](https://charmhub.io/github-runner/docs/managing-resource-usage) for +recommendation on `cores` and `mem` constraint. + +### Notes + +The name of the application must not be longer than 29 characters. This is due to the nature of LXD +pathing that must not exceed 108 bytes. 79 characters are reserved for path naming convention.