From 397449d9c61792177c91ef1b8532b3b21553259f Mon Sep 17 00:00:00 2001 From: Stu Hall Date: Tue, 7 Dec 2021 13:54:06 -0800 Subject: [PATCH 1/2] Update creating-a-stand-alone-photon-machine-with-cloud-init.md Fixed code block indentation that stopped it from code blocking --- .../creating-a-stand-alone-photon-machine-with-cloud-init.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/photon_admin/creating-a-stand-alone-photon-machine-with-cloud-init.md b/docs/photon_admin/creating-a-stand-alone-photon-machine-with-cloud-init.md index 9b55e2718b..29fc727101 100644 --- a/docs/photon_admin/creating-a-stand-alone-photon-machine-with-cloud-init.md +++ b/docs/photon_admin/creating-a-stand-alone-photon-machine-with-cloud-init.md @@ -29,7 +29,7 @@ Cloud-init can customize a Photon OS virtual machine by using the `nocloud` data The ISO now appears in the current directory: - ``` + ``` steve@ubuntu:~$ ls meta-data seed.iso user-data ``` @@ -46,4 +46,4 @@ Cloud-init can customize a Photon OS virtual machine by using the `nocloud` data more /var/log/cloud-init.log ``` -1. Attach the ISO to the Photon OS virtual machine as a CD-ROM and reboot it so that the changes specified by seed.iso take effect. In this case, `cloud-init` sets the `hostname` and adds the `vim` package. \ No newline at end of file +1. Attach the ISO to the Photon OS virtual machine as a CD-ROM and reboot it so that the changes specified by seed.iso take effect. In this case, `cloud-init` sets the `hostname` and adds the `vim` package. From e78701895d735c07877039f1099169c67dc63ef4 Mon Sep 17 00:00:00 2001 From: Kaihang Zhang Date: Wed, 16 Mar 2022 12:11:57 +0000 Subject: [PATCH 2/2] build.py: Fix OS environment variable typo 'IMPUT_PHOTON_BUILD_NUMBER' --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 1a3c0fec44..1c1804edcf 100755 --- a/build.py +++ b/build.py @@ -1132,7 +1132,7 @@ def main(): if 'INPUT_PHOTON_BUILD_NUMBER' in os.environ: - configdict["photon-build-param"]["input-photon-build-number"] = os.environ['IMPUT_PHOTON_BUILD_NUMBER'] + configdict["photon-build-param"]["input-photon-build-number"] = os.environ['INPUT_PHOTON_BUILD_NUMBER'] if 'BASE_COMMIT' in os.environ: configdict["photon-build-param"]["base-commit"] = os.environ['BASE_COMMIT']