Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add information about creating a Windows VM #13898

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@
remove_from_toctrees = ['reference/manpages/lxc/*.md']

intersphinx_mapping = {
'cloud-init': ('https://cloudinit.readthedocs.io/en/latest/', None)
'cloud-init': ('https://cloudinit.readthedocs.io/en/latest/', None),
'imagebuilder': ('https://canonical-lxd-imagebuilder.readthedocs-hosted.com/en/latest/', None)
}

html_extra_path = ['.sphinx/_extra']
Expand Down
8 changes: 8 additions & 0 deletions doc/howto/images_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,11 @@ Usually, this includes the following data:
For building your own images, you can use [LXD image builder](https://github.com/canonical/lxd-imagebuilder).

See the [LXD image builder documentation](https://canonical-lxd-imagebuilder.readthedocs-hosted.com/en/latest/) for instructions for installing and using the tool.

(images-repack-windows)=
### Repack a Windows image

You can run Windows VMs in LXD.
To do so, you must repack the Windows ISO with LXD image builder.

See the {doc}`LXD image builder tutorial <imagebuilder:tutorials/use>` for instructions, or [How to install a Windows 11 VM using LXD](https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd) for a full walk-through.
7 changes: 7 additions & 0 deletions doc/howto/instances_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,3 +479,10 @@ In the {guilabel}`Create instance` dialog, click {guilabel}`Use custom ISO` inst
You can then upload your ISO file and install a VM from it.
````
`````

### Create a Windows VM

To create a Windows VM, you must first prepare a Windows image.
See {ref}`images-repack-windows`.

The [How to install a Windows 11 VM using LXD](https://ubuntu.com/tutorials/how-to-install-a-windows-11-vm-using-lxd) tutorial shows how to prepare the image and create a Windows VM from it.
Loading