Below is the config i use for checking if router flash memory has certain amount of free space and then copy IOS image to it if it has.
Now i need to do the same thing for stacked switch. But iam wondering if below config will be sufficient for checking free space in EVERY member switch flash of a stacked switch or will it only check master switch flash free space? (as i haven't had an opportunity to test on prod yet)
Or do you suggest some other way to check free space of every member switch flash memory and then copy ios image to every member switch only if sufficient space exists?