Choco install within Packer Unicorn Meta Zoo #1: Why another podcast? ...

Are there moral objections to a life motivated purely by money? How to sway a person from this lifestyle?

What is the ongoing value of the Kanban board to the developers as opposed to management

Why does Arg'[1. + I] return -0.5?

Is there metaphorical meaning of "aus der Haft entlassen"?

Reattaching fallen shelf to wall?

finding a tangent line to a parabola

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

Character Optimization: Shillelagh Whirlwind

What to do with someone that cheated their way through university and a PhD program?

Why do distances seem to matter in the Foundation world?

Can you stand up from being prone using Skirmisher outside of your turn?

Protagonist's race is hidden - should I reveal it?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

Unable to completely uninstall Zoom meeting app

How to keep bees out of canned beverages?

Check if a string is entirely made of the same substring

Crossed out red box fitting tightly around image

How do I prove this combinatorial identity

How to translate "red flag" into Spanish?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

Tikz positioning above circle exact alignment

Is Electric Central Heating worth it if using Solar Panels?

Scheduling based problem



Choco install within Packer



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraPacker build of a virtualbox windows 7 ISO hangsNetworking not working on Packer created Ubuntu VirtualBox VMUse Chocolatey installPacker build hangs on SSH when building Win 2012 Server + Virtualboxchocoletey install jdk8 never endsWhat does “(Install)” mean in a package?Chocolatey GUI crash after trying to install ElixirHow can I upgrade a Chocolatey package if it's already installed, and install it if it isn't?Chocolatey cannot install Microsoft TeamsPacker unable to perform apt-get update





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am running Packer within Jenkins using Chocolatey to install packages onto that Windows Server before it's created into an AMI, I am currently having an issue with chocolatey within packer not passing the -y into "choco install". Packer is currently stuck on "By installing you accept licenses for the packages".



Below is the Error Message:



[0;32m    amazon-ebs: WinRM connected.[0m
[1;32m==> amazon-ebs: Connected to WinRM![0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner816199866[0m
[0;32m amazon-ebs: Getting latest version of the Chocolatey package for download.[0m
[0;32m amazon-ebs: Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.13.[0m
[0;32m amazon-ebs: Downloading 7-Zip commandline tool prior to extraction.[0m
[0;32m amazon-ebs: Extracting C:UsersADMINI~1AppDataLocalTempchocolateychocInstallchocolatey.zip to C:UsersADMINI~1AppDataLocalTempchocolateychocInstall...[0m
[0;32m amazon-ebs: Installing chocolatey on this machine[0m
[0;32m amazon-ebs: Creating ChocolateyInstall as an environment variable (targeting 'Machine')[0m
[0;32m amazon-ebs: Setting ChocolateyInstall to 'C:ProgramDatachocolatey'[0m
[0;32m amazon-ebs: WARNING: It's very likely you will need to close and reopen your shell[0m
[0;32m amazon-ebs: before you can use choco.[0m
[0;32m amazon-ebs: Restricting write permissions to Administrators[0m
[0;32m amazon-ebs: We are setting up the Chocolatey package repository.[0m
[0;32m amazon-ebs: The packages themselves go to 'C:ProgramDatachocolateylib'[0m
[0;32m amazon-ebs: (i.e. C:ProgramDatachocolateylibyourPackageName).[0m
[0;32m amazon-ebs: A shim file for the command line goes to 'C:ProgramDatachocolateybin'[0m
[0;32m amazon-ebs: and points to an executable in 'C:ProgramDatachocolateylibyourPackageName'.[0m
[0;32m amazon-ebs: Creating Chocolatey folders if they do not already exist.[0m
[0;32m amazon-ebs: WARNING: You can safely ignore errors related to missing log files when[0m
[0;32m amazon-ebs: upgrading from a version of Chocolatey less than 0.9.9.[0m
[0;32m amazon-ebs: 'Batch file could not be found' is also safe to ignore.[0m
[0;32m amazon-ebs: 'The system cannot find the file specified' - also safe.[0m
[0;32m amazon-ebs: chocolatey.nupkg file not installed in lib.[0m
[0;32m amazon-ebs: Attempting to locate it from bootstrapper.[0m
[0;32m amazon-ebs: PATH environment variable does not have C:ProgramDatachocolateybin in it. Adding...[0m
[0;32m amazon-ebs: WARNING: Not setting tab completion: Profile file does not exist at[0m
[0;32m amazon-ebs: 'C:UsersAdministratorDocumentsWindowsPowerShellMicrosoft.PowerShell_profil[0m
[0;32m amazon-ebs: e.ps1'.[0m
[0;32m amazon-ebs: Chocolatey (choco.exe) is now ready.[0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner259657802[0m
[0;32m amazon-ebs: Chocolatey v0.10.13[0m
[0;32m amazon-ebs: Installing the following packages:[0m
[0;32m amazon-ebs: notepadplusplus[0m
[0;32m amazon-ebs: By installing you accept licenses for the packages.[0m


The Following is the Packer JSON file



{
"provisioners": [
{
"type": "powershell",
"inline": [
"iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"
]
},
{
"type": "powershell",
"inline": [
"choco install -y notepadplusplus",
"choco install -y googlechrome",
"choco install -y firefox"
]
},
{
"type": "powershell",
"inline": [
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SendWindowsIsReady.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SysprepInstance.ps1 -NoShutdown"
]
}
],
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "Windows_Server-2012-R2_RTM-English-64Bit-Base-*",
"root-device-type": "ebs"
},
"owners": ["amazon"],
"most_recent": true
},
"instance_type": "t2.micro",
"winrm_username": "Administrator",
"ami_name": "Windows_2012_base-{{timestamp}}",
"user_data_file": "SetUpWinRM.ps1",
"communicator": "winrm",
"winrm_use_ssl": true,
"winrm_insecure": true,
"launch_block_device_mappings": [{
"device_name": "/dev/sda1",
"volume_size": 60,
"volume_type": "gp2",
"delete_on_termination": true
}]
}]
}









share|improve this question























  • From the logs that you have shown, it hasn't actually got to the point of "needing" the -y flag yet. The last line that you have there is just before it reaches out to the internet to download the package that you have requested to be installed.

    – Gary Ewan Park
    7 hours ago











  • Hi Gary, for some reason it's suck on that and can be like that for about two hours

    – Dave
    5 hours ago


















0















I am running Packer within Jenkins using Chocolatey to install packages onto that Windows Server before it's created into an AMI, I am currently having an issue with chocolatey within packer not passing the -y into "choco install". Packer is currently stuck on "By installing you accept licenses for the packages".



Below is the Error Message:



[0;32m    amazon-ebs: WinRM connected.[0m
[1;32m==> amazon-ebs: Connected to WinRM![0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner816199866[0m
[0;32m amazon-ebs: Getting latest version of the Chocolatey package for download.[0m
[0;32m amazon-ebs: Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.13.[0m
[0;32m amazon-ebs: Downloading 7-Zip commandline tool prior to extraction.[0m
[0;32m amazon-ebs: Extracting C:UsersADMINI~1AppDataLocalTempchocolateychocInstallchocolatey.zip to C:UsersADMINI~1AppDataLocalTempchocolateychocInstall...[0m
[0;32m amazon-ebs: Installing chocolatey on this machine[0m
[0;32m amazon-ebs: Creating ChocolateyInstall as an environment variable (targeting 'Machine')[0m
[0;32m amazon-ebs: Setting ChocolateyInstall to 'C:ProgramDatachocolatey'[0m
[0;32m amazon-ebs: WARNING: It's very likely you will need to close and reopen your shell[0m
[0;32m amazon-ebs: before you can use choco.[0m
[0;32m amazon-ebs: Restricting write permissions to Administrators[0m
[0;32m amazon-ebs: We are setting up the Chocolatey package repository.[0m
[0;32m amazon-ebs: The packages themselves go to 'C:ProgramDatachocolateylib'[0m
[0;32m amazon-ebs: (i.e. C:ProgramDatachocolateylibyourPackageName).[0m
[0;32m amazon-ebs: A shim file for the command line goes to 'C:ProgramDatachocolateybin'[0m
[0;32m amazon-ebs: and points to an executable in 'C:ProgramDatachocolateylibyourPackageName'.[0m
[0;32m amazon-ebs: Creating Chocolatey folders if they do not already exist.[0m
[0;32m amazon-ebs: WARNING: You can safely ignore errors related to missing log files when[0m
[0;32m amazon-ebs: upgrading from a version of Chocolatey less than 0.9.9.[0m
[0;32m amazon-ebs: 'Batch file could not be found' is also safe to ignore.[0m
[0;32m amazon-ebs: 'The system cannot find the file specified' - also safe.[0m
[0;32m amazon-ebs: chocolatey.nupkg file not installed in lib.[0m
[0;32m amazon-ebs: Attempting to locate it from bootstrapper.[0m
[0;32m amazon-ebs: PATH environment variable does not have C:ProgramDatachocolateybin in it. Adding...[0m
[0;32m amazon-ebs: WARNING: Not setting tab completion: Profile file does not exist at[0m
[0;32m amazon-ebs: 'C:UsersAdministratorDocumentsWindowsPowerShellMicrosoft.PowerShell_profil[0m
[0;32m amazon-ebs: e.ps1'.[0m
[0;32m amazon-ebs: Chocolatey (choco.exe) is now ready.[0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner259657802[0m
[0;32m amazon-ebs: Chocolatey v0.10.13[0m
[0;32m amazon-ebs: Installing the following packages:[0m
[0;32m amazon-ebs: notepadplusplus[0m
[0;32m amazon-ebs: By installing you accept licenses for the packages.[0m


The Following is the Packer JSON file



{
"provisioners": [
{
"type": "powershell",
"inline": [
"iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"
]
},
{
"type": "powershell",
"inline": [
"choco install -y notepadplusplus",
"choco install -y googlechrome",
"choco install -y firefox"
]
},
{
"type": "powershell",
"inline": [
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SendWindowsIsReady.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SysprepInstance.ps1 -NoShutdown"
]
}
],
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "Windows_Server-2012-R2_RTM-English-64Bit-Base-*",
"root-device-type": "ebs"
},
"owners": ["amazon"],
"most_recent": true
},
"instance_type": "t2.micro",
"winrm_username": "Administrator",
"ami_name": "Windows_2012_base-{{timestamp}}",
"user_data_file": "SetUpWinRM.ps1",
"communicator": "winrm",
"winrm_use_ssl": true,
"winrm_insecure": true,
"launch_block_device_mappings": [{
"device_name": "/dev/sda1",
"volume_size": 60,
"volume_type": "gp2",
"delete_on_termination": true
}]
}]
}









share|improve this question























  • From the logs that you have shown, it hasn't actually got to the point of "needing" the -y flag yet. The last line that you have there is just before it reaches out to the internet to download the package that you have requested to be installed.

    – Gary Ewan Park
    7 hours ago











  • Hi Gary, for some reason it's suck on that and can be like that for about two hours

    – Dave
    5 hours ago














0












0








0








I am running Packer within Jenkins using Chocolatey to install packages onto that Windows Server before it's created into an AMI, I am currently having an issue with chocolatey within packer not passing the -y into "choco install". Packer is currently stuck on "By installing you accept licenses for the packages".



Below is the Error Message:



[0;32m    amazon-ebs: WinRM connected.[0m
[1;32m==> amazon-ebs: Connected to WinRM![0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner816199866[0m
[0;32m amazon-ebs: Getting latest version of the Chocolatey package for download.[0m
[0;32m amazon-ebs: Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.13.[0m
[0;32m amazon-ebs: Downloading 7-Zip commandline tool prior to extraction.[0m
[0;32m amazon-ebs: Extracting C:UsersADMINI~1AppDataLocalTempchocolateychocInstallchocolatey.zip to C:UsersADMINI~1AppDataLocalTempchocolateychocInstall...[0m
[0;32m amazon-ebs: Installing chocolatey on this machine[0m
[0;32m amazon-ebs: Creating ChocolateyInstall as an environment variable (targeting 'Machine')[0m
[0;32m amazon-ebs: Setting ChocolateyInstall to 'C:ProgramDatachocolatey'[0m
[0;32m amazon-ebs: WARNING: It's very likely you will need to close and reopen your shell[0m
[0;32m amazon-ebs: before you can use choco.[0m
[0;32m amazon-ebs: Restricting write permissions to Administrators[0m
[0;32m amazon-ebs: We are setting up the Chocolatey package repository.[0m
[0;32m amazon-ebs: The packages themselves go to 'C:ProgramDatachocolateylib'[0m
[0;32m amazon-ebs: (i.e. C:ProgramDatachocolateylibyourPackageName).[0m
[0;32m amazon-ebs: A shim file for the command line goes to 'C:ProgramDatachocolateybin'[0m
[0;32m amazon-ebs: and points to an executable in 'C:ProgramDatachocolateylibyourPackageName'.[0m
[0;32m amazon-ebs: Creating Chocolatey folders if they do not already exist.[0m
[0;32m amazon-ebs: WARNING: You can safely ignore errors related to missing log files when[0m
[0;32m amazon-ebs: upgrading from a version of Chocolatey less than 0.9.9.[0m
[0;32m amazon-ebs: 'Batch file could not be found' is also safe to ignore.[0m
[0;32m amazon-ebs: 'The system cannot find the file specified' - also safe.[0m
[0;32m amazon-ebs: chocolatey.nupkg file not installed in lib.[0m
[0;32m amazon-ebs: Attempting to locate it from bootstrapper.[0m
[0;32m amazon-ebs: PATH environment variable does not have C:ProgramDatachocolateybin in it. Adding...[0m
[0;32m amazon-ebs: WARNING: Not setting tab completion: Profile file does not exist at[0m
[0;32m amazon-ebs: 'C:UsersAdministratorDocumentsWindowsPowerShellMicrosoft.PowerShell_profil[0m
[0;32m amazon-ebs: e.ps1'.[0m
[0;32m amazon-ebs: Chocolatey (choco.exe) is now ready.[0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner259657802[0m
[0;32m amazon-ebs: Chocolatey v0.10.13[0m
[0;32m amazon-ebs: Installing the following packages:[0m
[0;32m amazon-ebs: notepadplusplus[0m
[0;32m amazon-ebs: By installing you accept licenses for the packages.[0m


The Following is the Packer JSON file



{
"provisioners": [
{
"type": "powershell",
"inline": [
"iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"
]
},
{
"type": "powershell",
"inline": [
"choco install -y notepadplusplus",
"choco install -y googlechrome",
"choco install -y firefox"
]
},
{
"type": "powershell",
"inline": [
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SendWindowsIsReady.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SysprepInstance.ps1 -NoShutdown"
]
}
],
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "Windows_Server-2012-R2_RTM-English-64Bit-Base-*",
"root-device-type": "ebs"
},
"owners": ["amazon"],
"most_recent": true
},
"instance_type": "t2.micro",
"winrm_username": "Administrator",
"ami_name": "Windows_2012_base-{{timestamp}}",
"user_data_file": "SetUpWinRM.ps1",
"communicator": "winrm",
"winrm_use_ssl": true,
"winrm_insecure": true,
"launch_block_device_mappings": [{
"device_name": "/dev/sda1",
"volume_size": 60,
"volume_type": "gp2",
"delete_on_termination": true
}]
}]
}









share|improve this question














I am running Packer within Jenkins using Chocolatey to install packages onto that Windows Server before it's created into an AMI, I am currently having an issue with chocolatey within packer not passing the -y into "choco install". Packer is currently stuck on "By installing you accept licenses for the packages".



Below is the Error Message:



[0;32m    amazon-ebs: WinRM connected.[0m
[1;32m==> amazon-ebs: Connected to WinRM![0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner816199866[0m
[0;32m amazon-ebs: Getting latest version of the Chocolatey package for download.[0m
[0;32m amazon-ebs: Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.13.[0m
[0;32m amazon-ebs: Downloading 7-Zip commandline tool prior to extraction.[0m
[0;32m amazon-ebs: Extracting C:UsersADMINI~1AppDataLocalTempchocolateychocInstallchocolatey.zip to C:UsersADMINI~1AppDataLocalTempchocolateychocInstall...[0m
[0;32m amazon-ebs: Installing chocolatey on this machine[0m
[0;32m amazon-ebs: Creating ChocolateyInstall as an environment variable (targeting 'Machine')[0m
[0;32m amazon-ebs: Setting ChocolateyInstall to 'C:ProgramDatachocolatey'[0m
[0;32m amazon-ebs: WARNING: It's very likely you will need to close and reopen your shell[0m
[0;32m amazon-ebs: before you can use choco.[0m
[0;32m amazon-ebs: Restricting write permissions to Administrators[0m
[0;32m amazon-ebs: We are setting up the Chocolatey package repository.[0m
[0;32m amazon-ebs: The packages themselves go to 'C:ProgramDatachocolateylib'[0m
[0;32m amazon-ebs: (i.e. C:ProgramDatachocolateylibyourPackageName).[0m
[0;32m amazon-ebs: A shim file for the command line goes to 'C:ProgramDatachocolateybin'[0m
[0;32m amazon-ebs: and points to an executable in 'C:ProgramDatachocolateylibyourPackageName'.[0m
[0;32m amazon-ebs: Creating Chocolatey folders if they do not already exist.[0m
[0;32m amazon-ebs: WARNING: You can safely ignore errors related to missing log files when[0m
[0;32m amazon-ebs: upgrading from a version of Chocolatey less than 0.9.9.[0m
[0;32m amazon-ebs: 'Batch file could not be found' is also safe to ignore.[0m
[0;32m amazon-ebs: 'The system cannot find the file specified' - also safe.[0m
[0;32m amazon-ebs: chocolatey.nupkg file not installed in lib.[0m
[0;32m amazon-ebs: Attempting to locate it from bootstrapper.[0m
[0;32m amazon-ebs: PATH environment variable does not have C:ProgramDatachocolateybin in it. Adding...[0m
[0;32m amazon-ebs: WARNING: Not setting tab completion: Profile file does not exist at[0m
[0;32m amazon-ebs: 'C:UsersAdministratorDocumentsWindowsPowerShellMicrosoft.PowerShell_profil[0m
[0;32m amazon-ebs: e.ps1'.[0m
[0;32m amazon-ebs: Chocolatey (choco.exe) is now ready.[0m
[1;32m==> amazon-ebs: Provisioning with Powershell...[0m
[1;32m==> amazon-ebs: Provisioning with powershell script: /tmp/powershell-provisioner259657802[0m
[0;32m amazon-ebs: Chocolatey v0.10.13[0m
[0;32m amazon-ebs: Installing the following packages:[0m
[0;32m amazon-ebs: notepadplusplus[0m
[0;32m amazon-ebs: By installing you accept licenses for the packages.[0m


The Following is the Packer JSON file



{
"provisioners": [
{
"type": "powershell",
"inline": [
"iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))"
]
},
{
"type": "powershell",
"inline": [
"choco install -y notepadplusplus",
"choco install -y googlechrome",
"choco install -y firefox"
]
},
{
"type": "powershell",
"inline": [
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SendWindowsIsReady.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule",
"C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SysprepInstance.ps1 -NoShutdown"
]
}
],
"builders": [{
"type": "amazon-ebs",
"access_key": "{{user `aws_access_key`}}",
"secret_key": "{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "Windows_Server-2012-R2_RTM-English-64Bit-Base-*",
"root-device-type": "ebs"
},
"owners": ["amazon"],
"most_recent": true
},
"instance_type": "t2.micro",
"winrm_username": "Administrator",
"ami_name": "Windows_2012_base-{{timestamp}}",
"user_data_file": "SetUpWinRM.ps1",
"communicator": "winrm",
"winrm_use_ssl": true,
"winrm_insecure": true,
"launch_block_device_mappings": [{
"device_name": "/dev/sda1",
"volume_size": 60,
"volume_type": "gp2",
"delete_on_termination": true
}]
}]
}






chocolatey packer






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 21 hours ago









DaveDave

1




1













  • From the logs that you have shown, it hasn't actually got to the point of "needing" the -y flag yet. The last line that you have there is just before it reaches out to the internet to download the package that you have requested to be installed.

    – Gary Ewan Park
    7 hours ago











  • Hi Gary, for some reason it's suck on that and can be like that for about two hours

    – Dave
    5 hours ago



















  • From the logs that you have shown, it hasn't actually got to the point of "needing" the -y flag yet. The last line that you have there is just before it reaches out to the internet to download the package that you have requested to be installed.

    – Gary Ewan Park
    7 hours ago











  • Hi Gary, for some reason it's suck on that and can be like that for about two hours

    – Dave
    5 hours ago

















From the logs that you have shown, it hasn't actually got to the point of "needing" the -y flag yet. The last line that you have there is just before it reaches out to the internet to download the package that you have requested to be installed.

– Gary Ewan Park
7 hours ago





From the logs that you have shown, it hasn't actually got to the point of "needing" the -y flag yet. The last line that you have there is just before it reaches out to the internet to download the package that you have requested to be installed.

– Gary Ewan Park
7 hours ago













Hi Gary, for some reason it's suck on that and can be like that for about two hours

– Dave
5 hours ago





Hi Gary, for some reason it's suck on that and can be like that for about two hours

– Dave
5 hours ago










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429185%2fchoco-install-within-packer%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1429185%2fchoco-install-within-packer%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...