104 Commits

Author SHA1 Message Date
Graham Pugh
73e447c451
Merge pull request #20 from munki/main
Pulls @natewalck 's upstream changes into this fork
2020-09-18 21:45:32 +01:00
Nate Walck
e59d8b84cb
Add check for running from current user directory and bail with warning (#65)
* Add check for running from special dirs that apple thinks need approval and warn
2020-09-18 13:41:31 -07:00
Graham R Pugh
5e6c1bde60 decide device and model lines 2020-08-18 15:15:08 +02:00
Graham R Pugh
445e8054e1 decode board ids line 2020-08-18 15:13:59 +02:00
Graham R Pugh
1283058653 Add test for remotectl command for older Macs 2020-08-18 15:00:53 +02:00
Graham R Pugh
9a53656ebf syntax 2020-08-06 21:07:06 +02:00
Graham R Pugh
92b0bd8f8f suppress stderr - second attempt 2020-08-06 21:06:23 +02:00
Graham R Pugh
0253fc94bd don't output from remotectl 2020-08-06 21:01:41 +02:00
Graham R Pugh
8fd38329d7 don't error if no device id 2020-08-06 20:57:48 +02:00
Graham R Pugh
f8cdedd509 Add search for DeviceID because UnsupportedModels is absent from macOS 11.* dist files 2020-08-06 14:04:45 +02:00
Graham R Pugh
278f2fa889 minor change to output when choosing invalud os or version 2020-08-05 11:25:48 +02:00
Graham R Pugh
b90cdda765 if --beta is chosen, do not validate build before downloading 2020-08-05 11:22:18 +02:00
Graham R Pugh
70fda7b098 New --warnings option, Notes not shown without this flag 2020-07-31 14:09:04 +02:00
Graham R Pugh
701bdbe3f2 fix a pylint issue with plistlib 2020-07-31 13:45:05 +02:00
Graham R Pugh
c249079df9 Allow for missing metadata in Big Sur betas 2020-07-31 13:32:36 +02:00
Greg Neagle
e71ade7e92
Update README.md 2020-07-29 13:01:28 -07:00
Graham R Pugh
3a1cbeb736 Add ability to clear working directory to solve aborted downloads causing problems 2020-06-23 14:58:45 +02:00
Graham R Pugh
7fddca85bb Merge branch 'munki-main' 2020-06-23 14:09:53 +02:00
Graham R Pugh
5ad04b759f Merge branch 'main' of https://github.com/munki/macadmin-scripts into munki-main 2020-06-23 14:09:31 +02:00
Greg Neagle
409ea6c9a9 Properly parse sucatalogs for Big Sur beta installer 2020-06-22 16:25:01 -07:00
Greg Neagle
9f9ec905e8 Catch IOError exception when trying to read the SeedCatalogs.plist; print any errors around SeedCatalogs.plist access to stderr. 2020-05-28 07:56:51 -07:00
Greg Neagle
e27cd94c07
Update README.md 2020-05-27 14:15:55 -07:00
Greg Neagle
d4860447b3 Bump sparseimage size to 16g; eliminate extra whitespace 2020-05-27 11:07:29 -07:00
Graham R Pugh
5f9b7436c4 python 3 compatibility fixes 2020-05-06 17:15:41 +02:00
Graham R Pugh
275432a070 Add renew and newer_than_version options 2020-05-06 10:21:53 +02:00
Greg Neagle
fb503afeb1
Merge pull request #48 from call/patch-1
Remove errant whitespace
2020-03-30 20:09:17 -07:00
Brian Call
06c8d371e6
Remove errant whitespace 2020-03-30 19:39:34 -07:00
Greg Neagle
58b7d0d436
Merge pull request #47 from aysiu/patch-1
9GB sparse disk image to accommodate 10.15.4
2020-03-27 08:09:36 -07:00
Graham R Pugh
6cd5fa0f7d increase size of read-only disk image 2020-03-25 09:50:38 +01:00
Graham Pugh
c7a761c7da
Merge pull request #16 from munki/master
updated docs
2020-03-25 09:47:10 +01:00
aysiu
fa22d97c9b
9GB sparse disk image to accommodate 10.15.4
Addresses this issue:
https://github.com/munki/macadmin-scripts/issues/46
2020-03-24 18:57:01 -07:00
Greg Neagle
b476cc0122 updated docs 2020-03-16 08:35:59 -07:00
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