Closed xplt-artur closed 3 months ago
edit install.ps1 and add the followingf information in the head of the script:
Import-Module Boxstarter.Chocolatey
$BoxStarter.RebootOk=$true
Now if you install it will work.
Thanks @sh0ra1t! We're hoping this has been fixed with a couple changes made recently. not sure why the flag for noReboots would be set, but good to see a workaround.
Describe the bug and expected behavior After the initial install of lets say the "Default" package list, if I were to restart install.ps1 because I want to add additional packages, I get the following error
[+] Settings updated, beginning install. Please wait for a popup letting you know the installation is complete! [+] Setting Boxstarter config [!] Error: Failed to install profile: The property 'RebootOk' cannot be found on this object. Verify that the property exists and can be set.
Which seems to be related to https://github.com/chocolatey/boxstarter/issues/380 and can be fixed by adding
Import-Module Boxstarter.Chocolatey
To Reproduce Steps to reproduce the behavior:
Screenshots![image](https://github.com/mandiant/commando-vm/assets/116645364/ad66d0c3-9e10-4803-82b7-73cb989313c0)
Version