-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoke-FromTask: Unable to run scheduled task (no message) #12
Comments
I'm getting this same error when attempting to port some of your packer-template scripts over to boxcutter/windows as a more PowerShell native option and may be replacing/aliasing Chocolatey as a "configuration management" option with Boxstarter since it pulls it in as well with its bootstrap.
|
you can probably work around this by calling |
Hi @mwrock it appears that the script I'm borrowing from your packer-templates should already be doing that. https://github.com/mwrock/packer-templates/blob/master/scripts/boxstarter.ps1 |
@dragon788 looks like Im following the same blogpost as yourself - and hitting the same issue... Did you manage to get this working? |
@dragon788 Assuming we were sharing the same or similar issues (and looking at your error log I think we are...) I have got passed this issue using information from the following link. Basically boiled down to an issue with running Boxstarter over a winrm session. |
Good call, after examining how I was calling the boxstarter script and how @mwrock had originally set up his templates I noticed that he was calling it from the unattend and not from the provisioner step like I was. Going back and looking over his blog post regarding his templates I realized why he had done it that way, and so in my merging of his templates and box cutter windows I may take the same approach so that the boxstarter and updating at the very least happens before the reboot to begin provisioning. On Jun 25, 2016, 9:12 AM, at 9:12 AM, Matt Caton notifications@github.com wrote:
|
I think this could be considered closed. Per @mwrock if you want to use Invoke-Task directly (after importing Boxstarter.Common) you need to "prime the pump" with a manual (interactive) |
Migrated from https://boxstarter.codeplex.com/workitem/69
I'm trying to use the Invoke-FromTask command in the Boxstarter.Common with no success. Suggestions?
The text was updated successfully, but these errors were encountered: