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

build.py: Fix OS environment variable typo 'IMPUT_PHOTON_BUILD_NUMBER' #1306

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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.
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.