In this lesson, we're going to discuss upgrading Mac OS, using scripts now an advantage of using scripts
over a monkey or the E and performing upgrades on a single computer or a group of computers that may
not have its own manifest, it is also easier to perform spur of the moment upgrades such as an employee
is out sick or a class was canceled.
If you want to upgrade a lot of machines at a specific time, you can script the copying of the upgrade
to the machine before you actually run the upgrade.
Then when it is time for the upgrade, you don't have hundreds of computers fighting for bandwidth to
download a six gigabyte package.
Now, when you copy the package in advance, make sure you use a location other than temp.
All right, so let's go ahead and get ready to perform our Mac OS upgrade to our machine using a script.
And so what I've done here is I'm going to take a look at my computers to upgrade to my haveI and my
smart list.
And what I'm going to do since this is the computer that's to the right, is I'm going to do a last
minute check on the hardware to make sure that I've got free drive space.
Which you can see I've got plenty of and now so now all we got to do is drag and drop our machine to
our upgrade.
Now, if you take a look, you can see that I've got to upgrade to used in the install server and the
monkey server.
So let's talk about that for a quick moment now in the lesson on preparing media for a Mac OS upgrade.
I had two procedures.
One, where you made it yourself, one with monkey.
Now, if you have a monkey and a R d, you could just use the monkey procedure and then you can use
your monkey server to run a job for them.
So if you see here, I'm downloading the Mojave Download image from the monkey server and if we go to
the install server, then this is the package that I created manually with util and copied to my Web
server.
If you have Monkey NRD, then you really only need to run the monkey procedure and you could make your
script revolve around the monkey server.
And if you don't have monkey, then you can do what I did here, use the util and then use the path
to your web server where you moved it manually.
All right, now, another thing that I had mentioned is so like if we just want to do this machine now,
you could see that I'm downloading it and mounting the image.
I'm waiting a little bit and then I'm running a command to start the installation.
And then I've got two flags agreeing to the license agreement and no interaction, which basically means
there's no prompting for questions.
In other words, we want this whole procedure to be completely automated.
All right.
So let's just say you want to upgrade all of your machines on a Friday night.
So everybody comes in on the weekend, their machines are upgraded.
And so you don't want all your machines to just start downloading them on Friday.
I mean, you maybe got two or three weeks in advance to get Mohie on all your machines or at least the
installation package.
So what you could do is chop your job into two pieces.
So here I'm downloading from the install server and I'm just saving it in applications.
Install Magnolia's McGarvie.
That's the way it would look, just like it did if it were downloaded from the Mac store.
And if your users do not have admin permissions, if they were to double click on this icon, then they
wouldn't be able to do the installation anyway.
So it's probably a safe place to put it in alternative place you could put it would be the users administrator
folder.
And then again, unless they're actually logging in with the account administrator, they wouldn't have
access to it there.
So you can you can just decide on your own what the best place to where to download the disk image to
is.
All right, so let's go ahead and perform the first start performing the upgrade so we can see what
it looks like.
And so I'm just going to go ahead and drag it over to my server.
And this is the full job.
So it's going to download it and it's going to perform the install.
So I will pause the video and I will start it back up when there is actually something to say.
All right, so as you can see here, we're getting a live report from R.G. and it's showing us progress
now, I guess it's not exactly real time, but every once in a while it will update.
So we do know at least that our file is being copied and we get an ETA of how much time it should take.
It looks like another four minutes and we get a sense of our download speed.
And so it's it's useful information.
All right, so we can see that the disk image has fully downloaded and now it's mounting the disk image,
and so then it's going to actually start to perform the installation and we should get a reboot soon.
And if you look at the desktop, you can see that the you can also see that way that the disk image
has been mounted.
All right, so once again, our upgrade is complete and let's go ahead and log in as our network user.
And once again, you can see we have the progress bar, this is going to be the same 13 minute issue
that we had when we upgraded with Monkey.
Now, the thing to keep in mind is that we performed two different procedures.
Effectively, the same thing was happening.
And if you ran this interactively, the same thing would happen.
Like I said, it's not a procedural problem.
It's a issue with the installation process from Apple itself.
OK, so now we're at the login screen and I'm going to go ahead and log in again.
And as you can see, we've upgraded and we still have our untitled folder.
Now let's go ahead and take a look at our computers to upgrade to McGarvey list.
And you can see that our machine is now not in that list because we've upgraded.
And if we go to our Mojave list now, our machine is in there because of the smart list.
So I only have one more computer left in my Mojave upgrade.
So as you can see, it doesn't really matter what whether you use a script with a D another product
or if you use monkey, the procedure itself is the same.
So you really just need to come up with a strategy that's going to work best for you in your environment.