The package will be located in the project folder.Pkgbuild: Wrote package to AppleSetupDone.pkg Pkgbuild: Inferring bundle components from contents of ROOT Pkgbuild –root ROOT –identifier –version xx AppleSetupDone.pkg topher$ pkgbuild -root ROOT -identifier -version 1.0 AppleSetupDone.pkg Change the permissions on the ROOT folder inside of the project folder to be owned by the root user.However, we won’t need any for this package. Include any pre- and post-flight install scripts that need to be executed during installation.Place the files that need to be installed into the directories.topher$ mkdir -p AppleSetupDone_Package/var/db Build out the directory structure to match where the files will go when installed.Inside of the project directory create another file but this time call it ROOT.Create a directory that will serve as the project directory for this package.Usage: pkgbuild -root īuild a package from an xcodebuild destination rootĬreate template component plist from an xcodebuild destination rootīuild a package from one or more previously-built bundles pkgbuild is a system utility that you can use to build basic installer packages. To create a flat package we will be using pkgbuild. The Java JCE doesn’t need any additional customization, the files just need to be put into a package for installation. When the Configure Jamf Pro script runs, it recreates the admin password for the MySQL Server. The post install script has to be removed, then the contents of the MySQL package need to be recreated. Java Cryptography Extension (JCE) & MySQL are packages that will need a custom installer and be recreated with each new release. The MySQL installer calls System Events to display a dialog box of the admin password. There are a few packages that will need to be created from scratch. Most of these packages you can download from the above links. Disable Apple iCloud Diagnostic and Siri Pop-Ups.Building Jamf Pro in a Virtual Boxīefore we can build an image we will need to download and create a few custom packages: Tomcat also needed some specific logging directories to be created before it would start. For Tomcat, I had to create the self-signed certificate that the computer uses to authenticate to the Jamf Pro server. With the password in hand I can set the root password for MySQL and configure the database to the specifications of Jamf Pro. I found that when I removed /usr/local/mysql/data/mysql/db.frm and ran the initialize command again, MySQL would create a new password and return it. To configure MySQL, I needed to know what the admin password was without prompting the user. The script will configure and start both MySQL and Tomcat. vfuse takes a disk image and converts it to a virtual machine for use in VMware Fusion.Ĭonfigure Jamf Pro is a script that I wrote that to mimic the Jamf Pro installer process, but without all the prompts. Vfuse is a open source command line tool developed by Joseph Chilcote. CreateUserPkg creates packages to deploy macOS user accounts. To build the image it uses the latest macOS installer to find any updates that need to be applied and any custom packages. AutoDMG builds a never-booted disk image that can be used to image Macs. Configure Jamf Pro, automatically configures a Jamf Pro instance.ĪutoDMG and CreateUserPkg are tools developed by Per Olofsson. Jamf Nation account with access to Jamf Pro Assets.VMware Fusion, runs the virtual machine.vfuse, converts the image from disk image to virtual machine.CreateUserPkg, builds a preconfigured user package.To get started there is a few tools that are needed for the process. These instructions are built using macOS but the methodology might be able to be applied to other operating systems. Sometimes the process of testing a new release or beta can easily break, and having an automated process to quickly rebuild a macOS test environment can save you tons of time and frustration. When testing different policies that are unique or upgrading to a new version of Jamf Pro, it’s best not to try it on the production server first. Jamf Pro server can be a funny and fickle beast.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |