172 Commits

Author SHA1 Message Date
Graham Pugh
36d5fd1252
Merge pull request #14 from munki/master
Merge upstream changes from Munki repo
2020-02-03 15:45:33 +01:00
Greg Neagle
e3d870a070
Merge pull request #42 from shinjukumiku/shinjukumiku-patch-cmbuild
installmacos.py: install_product: set CM_BUILD
2020-01-31 08:11:43 -08:00
shinjukumiku
96bb710d85
installmacos.py: install_product: set CM_BUILD
Set CM_BUILD env var in install_product()

This makes it possible to install machine-specific OS builds on 'non-supported' hardware
for example, 10.14.4 (18E2034) on machines that aren't iMac19,1 or iMac19,2.
2020-01-31 11:19:53 +00:00
Graham Pugh
9e8b2fa5e7
Merge pull request #13 from grahampugh/munki-master
Merge changes in from munki-master
2019-11-07 14:22:16 -06:00
Graham
83f7fb289e Merge branch 'master' of https://github.com/munki/macadmin-scripts into munki-master 2019-11-07 14:12:53 -06:00
Greg Neagle
0276ddd1ba Fix bad indent from #27. Addresses #34 and #35. 2019-11-04 15:33:40 -08:00
Greg Neagle
697639f164
Merge pull request #27 from carlashley/master
Move `os.getuid()` check
2019-11-03 09:42:04 -08:00
Carl
be77d54f0a
Merge pull request #1 from carlashley/help-without-sudo
Check if root after processing args
2019-10-16 18:56:47 +10:00
Carl
1b8a5e9eec
Check if root after processing args
Allows for the `-h/--help` argument to be used without needing to elevate privileges.
2019-10-16 18:56:24 +10:00
Graham Pugh
c0501d61f1
Merge pull request #11 from grahampugh/munki-master
Munki master
2019-10-07 21:56:10 +02:00
Graham
f36b5f8b62 Merge branch 'master' of https://github.com/munki/macadmin-scripts into munki-master 2019-10-07 21:54:14 +02:00
Greg Neagle
c9846e8984 Add Catalina sucatalog 2019-09-27 15:37:13 -07:00
Greg Neagle
7d1df62482 In os_installer_product_info better handle the failure to find a server metadata file for a macos product 2019-08-18 09:00:18 -07:00
Greg Neagle
d573b42232
Update README.md 2019-08-07 16:02:51 -07:00
Greg Neagle
21dfc75519
Update README.md 2019-08-07 16:00:34 -07:00
Graham Pugh
0822b3e46f Full path to ioreg in case the PATH does not include /usr/sbin 2019-08-06 15:46:40 +02:00
Graham R Pugh
e6222ad3f3
Work around a very dumb Apple bug in a package postinstall script. (#9) 2019-08-06 14:06:46 +02:00
Greg Neagle
66331c6b5a Work around a very dumb Apple bug in a package postinstall script. 2019-07-31 15:12:58 -07:00
Graham Pugh
514fa3afe4 Fix for logic of Unsupported macOS version 2019-07-16 17:55:38 +02:00
G Pugh
620038efc4 Add --beta option 2019-07-12 18:42:44 +02:00
G Pugh
57dd500dec Merge branch 'master' of https://github.com/munki/macadmin-scripts 2019-07-04 10:49:28 +02:00
Greg Neagle
ebd27a06c2 Fix to add SeedProgram extended attribute to the install application if --seedprogram option is used 2019-07-03 10:02:31 -07:00
Greg Neagle
9d9bb51ab1 Don't attempt to parse a dist we could not replicate! Addresses #19. 2019-05-28 14:53:50 -07:00
Greg Neagle
7f27257d96 Add plistlib wrapper functions to avoid DeprecationWarnings under Python 3 2019-05-12 12:11:20 -07:00
Graham R Pugh
168bd5b0a1
Change "os_build" variable to "build_info" (#2) (#7)
Actually hanged it to `build_info[0]`.
2019-05-08 22:07:56 +02:00
Austin Culter
9e35978b72 Fix for board-id retrieval on VM (#6) 2019-05-08 21:57:16 +02:00
Greg Neagle
22c91ee3c8 Some post-2to3-conversion cleanup 2019-05-02 20:34:37 -07:00
Greg Neagle
c6c91dca06 Attempt #2 to add Python 3 compatibility 2019-05-02 20:26:00 -07:00
Greg Neagle
1f1615e5a2 Revert Python 3 changes as they relied on a non-standard module.
This reverts commit b3339ef2f8b1091d932e2936fe825ddde31e129d.
2019-05-02 17:21:20 -07:00
Greg Neagle
c7c3ab6c31 Revert Python 3 chnages since they relied on a non-standard module.
This reverts commit adcff204f460bf5a977798661572947d29637a88.
2019-05-02 17:19:18 -07:00
Greg Neagle
adcff204f4 A few post-2to3 optimizations 2019-05-02 09:30:05 -07:00
Greg Neagle
b3339ef2f8 Add Python 3 support to installinstallmacos.py 2019-05-02 06:33:19 -07:00
G Pugh
1bfd0c71b7 --list option displays available seedprograms to aid with erase-install 2019-04-16 22:26:33 +02:00
G Pugh
68065b8004 Merge branch 'master' of https://github.com/munki/macadmin-scripts 2019-04-03 18:40:16 +02:00
grahampugh
0fdcc32967 Added --os option which can specify an OS version, which is different to --version which matches a point release. 2019-03-28 21:20:12 +01:00
Greg Neagle
7b16cf5d39 Dynamically determine valid Seed Program names and provide better error message if an unknown Seed Program is given to --seedprogram 2019-02-19 11:34:51 -08:00
gpugh
75577caa87 Fix for when invalid version is requested 2018-12-13 00:49:32 +01:00
Graham R Pugh
2a739b16d3
Vm detect (#1)
* Add VM detection. Bypass build & model identifier if detected as a VM

* syntax error

* remove camelCase
2018-10-30 19:07:57 +01:00
G Pugh
8d9449a053 Merge branch 'master' of https://github.com/munki/macadmin-scripts 2018-10-16 19:14:02 +02:00
Greg Neagle
c0cdf39725 Fix reference to args.sucatalog_url. Fixes #10 2018-10-04 00:56:38 +02:00
Greg Neagle
5fd6ae153b Merge branch 'master' of https://github.com/munki/macadmin-scripts 2018-10-02 18:59:29 +02:00
Greg Neagle
06179680c2 No longer defaults to Seed Program sucatalog. Use new --seedprogram option to specify CustomerSeed, DeveloperSeed, or PublicSeed if desired. 2018-10-02 18:58:38 +02:00
G Pugh
2f0ffd91cc 10.14 catalog 2018-09-29 22:24:43 +02:00
Greg Neagle
9b6c4cab9c
Update README.md 2018-09-29 06:47:50 -07:00
Greg Neagle
1f9c62e457
Merge pull request #6 from discentem/patch-1
fixing typo
2018-09-25 08:55:00 -07:00
Brandon Kurtz
f989a483b8
fixing typo 2018-09-24 21:45:11 -04:00
Greg Neagle
5fbced7488
Update README.md 2018-09-24 11:18:05 -07:00
Graham Pugh
7d7534dad3 Add more space for OS display name 2018-09-24 14:38:40 +02:00
G Pugh
f94eda697f Checks version is not older than current install 2018-09-23 17:22:01 +02:00
G Pugh
8f262a5b33 Correct syntax for -volname 2018-09-23 16:02:28 +02:00