Greg Neagle
a8a6f150c8
Python 3 fix for setting Seed Program xattr.
2022-04-05 10:42:52 -07:00
Greg Neagle
854798a010
Update README.md
2022-03-14 15:26:12 -07:00
Greg Neagle
9d43e0c3b0
More README updates
2022-02-01 14:25:05 -08:00
Greg Neagle
a2bd157a47
Remove deprecated scripts; update README
2022-02-01 14:20:57 -08:00
Greg Neagle
35c8065038
update copyright dates
2022-02-01 14:13:28 -08:00
Greg Neagle
7c6621ec3e
Prep for removal of Apple Python in macOS 12.3:
...
- Change shebang to #!/usr/bin/env python
- Print error and possible fix if xattr module is not available
2022-02-01 14:11:14 -08:00
Greg Neagle
7a74bc37e3
Change shebang to #!/usr/bin/env python in prep for macOS 12.3
2022-02-01 14:10:42 -08:00
Greg Neagle
71779ab25d
Update installinstallmacos.py
...
Update Big Sur catalog to the one Apple seems to be actually using
2021-10-21 14:32:31 -07:00
Erik Gomez
9fca3a252d
add monterey sucatalog ( #99 )
2021-10-21 14:31:07 -07:00
Greg Neagle
9126b083fd
Update README.md
2021-06-02 14:02:56 -07:00
Greg Neagle
1aff3516ae
Update README.md
2021-06-02 14:00:47 -07:00
Greg Neagle
d3c0d20b62
Fix copyright date
2021-03-18 14:28:39 -07:00
Greg Neagle
2f31403de6
Add getmacosipsws.py
2021-03-18 14:27:27 -07:00
Craig Davison
03ef2ba0fe
Fix HTTP resume ( #84 )
...
* Fix HTTP resume
* Handle error 416 when resuming complete file
* Line break for comment
* Fix logic
* ensure err.output is digits
* amend comment
* Support retry on error 412
2021-02-15 17:14:52 -08:00
Greg Neagle
8b4287d7b4
Add _a_ Big Sur sucatalog to the list of DEFAULT_SUCATALOGS
2020-11-12 10:44:00 -08:00
Greg Neagle
07e95a45f4
Update README.md
2020-10-05 10:32:21 -07:00
Greg Neagle
c6472f6841
Update README.md
2020-10-05 10:31:35 -07:00
Greg Neagle
4d2643f796
Add --compressed flag only if URL does not end in .gz. Addresses #68
2020-09-25 14:30:03 -07:00
Greg Neagle
b950e9d70a
Merge branch 'main' of https://github.com/munki/macadmin-scripts into main
2020-09-23 16:52:39 -07:00
Greg Neagle
13fb28cdc8
Add --compress to curl call and hope Apple doesn't decide to violate more HTTP standards.
2020-09-23 16:52:24 -07:00
Greg Neagle
96b8430d4a
Fix bad variable name when checking for privacy-protected directories
2020-09-18 13:55:55 -07: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
Greg Neagle
e71ade7e92
Update README.md
2020-07-29 13:01:28 -07: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
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
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
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
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
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
Greg Neagle
66331c6b5a
Work around a very dumb Apple bug in a package postinstall script.
2019-07-31 15:12:58 -07: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
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