From 1d48c20265a2c52e88a60840cca20f58adae07ad Mon Sep 17 00:00:00 2001 From: Grant Orndorff Date: Tue, 7 Nov 2023 11:49:33 +0200 Subject: [PATCH] fix old links --- docs/howtoguides/enable_cis.md | 2 +- docs/howtoguides/enable_livepatch.md | 2 +- docs/index.rst | 2 +- docs/tutorials/create_a_fips_docker_image.md | 2 +- docs/tutorials/create_a_fips_updates_pro_cloud_image.md | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/howtoguides/enable_cis.md b/docs/howtoguides/enable_cis.md index 380075b728..db03e3d8ec 100644 --- a/docs/howtoguides/enable_cis.md +++ b/docs/howtoguides/enable_cis.md @@ -23,5 +23,5 @@ Visit https://security-certs.docs.ubuntu.com/en/cis to learn how to use CIS ``` Once the feature is enabled please -[follow the documentation](https://ubuntu.com/security/certifications/docs/cis) +[follow the documentation](https://ubuntu.com/security/certifications/docs/usg/cis) for the CIS tooling, to run the provided hardening audit scripts. diff --git a/docs/howtoguides/enable_livepatch.md b/docs/howtoguides/enable_livepatch.md index 5c4e36807b..2b34772e4d 100644 --- a/docs/howtoguides/enable_livepatch.md +++ b/docs/howtoguides/enable_livepatch.md @@ -102,7 +102,7 @@ patch state: ✓ no livepatches needed for this kernel yet ``` You can also check -[the support matrix](https://ubuntu.com/security/livepatch/docs/kernels) +[the support matrix](https://ubuntu.com/security/livepatch/docs/livepatch/reference/kernels) to see if your kernel is supported by Livepatch. To find out more, refer to this explanation of [how Livepatch works](https://ubuntu.com/security/livepatch/docs/livepatch/explanation/howitworks). diff --git a/docs/index.rst b/docs/index.rst index de71d99e63..bf93bb197f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -300,7 +300,7 @@ constructive feedback. .. _more information about real-time Ubuntu: https://ubuntu.com/kernel/real-time/contact-us .. _Landscape: https://ubuntu.com/landscape .. _Report bugs on Launchpad: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+filebug -.. _Code of conduct: https://ubuntu.com/community/code-of-conduct +.. _Code of conduct: https://ubuntu.com/community/ethos/code-of-conduct .. _Contribute: https://github.com/canonical/ubuntu-pro-client/blob/docs/CONTRIBUTING.md .. _IRC channel on Libera: https://kiwiirc.com/nextclient/irc.libera.chat/ubuntu-server .. _our Discourse forum: https://discourse.ubuntu.com/c/ubuntu-pro/116 diff --git a/docs/tutorials/create_a_fips_docker_image.md b/docs/tutorials/create_a_fips_docker_image.md index f985ac35ed..7bf26abacb 100644 --- a/docs/tutorials/create_a_fips_docker_image.md +++ b/docs/tutorials/create_a_fips_docker_image.md @@ -98,7 +98,7 @@ DOCKER_BUILDKIT=1 docker build . --secret id=pro-attach-config,src=pro-attach-co ``` This will pass the `pro-attach-config.yaml` file we created earlier as a -[BuildKit Secret](https://docs.docker.com/develop/develop-images/build_enhancements/#new-docker-build-secret-information) +[BuildKit Secret](https://docs.docker.com/engine/reference/builder/#run---mounttypesecret) so that the finished Docker image will not contain your Ubuntu Pro token. ## Test the Docker image diff --git a/docs/tutorials/create_a_fips_updates_pro_cloud_image.md b/docs/tutorials/create_a_fips_updates_pro_cloud_image.md index 10b87b32b8..1face65e98 100644 --- a/docs/tutorials/create_a_fips_updates_pro_cloud_image.md +++ b/docs/tutorials/create_a_fips_updates_pro_cloud_image.md @@ -46,7 +46,7 @@ sudo rm /etc/machine-id Cloud-specific instructions are here: * [AWS](https://docs.aws.amazon.com/toolkit-for-visual-studio/latest/user-guide/tkv-create-ami-from-instance.html) -* [Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource) +* [Azure](https://learn.microsoft.com/en-us/azure/virtual-machines/capture-image-resource) * [GCP](https://cloud.google.com/compute/docs/machine-images/create-machine-images) ## Launch your custom image @@ -64,7 +64,7 @@ updates to FIPS packages when they become available. sudo pro enable fips-updates --assume-yes ``` -This can be scripted using [cloud-init user data](https://cloudinit.readthedocs.io/en/latest/topics/modules.html#runcmd) at launch time: +This can be scripted using [cloud-init user data](https://cloudinit.readthedocs.io/en/latest/reference/modules.html#runcmd) at launch time: ```yaml #cloud-config # Enable fips-updates after pro auto-attach and reboot after cloud-init completes