Packer build of a virtualbox windows 7 ISO hangsInstalling VirtualBox 4.0.8 on Windows 7 hangsRebooting...
How do you funnel food off a cutting board?
Help Me simplify: C*(A+B) + ~A*B
Book where aliens are selecting humans for food consumption
How to explain planetary rings pulsating?
What is the in-universe cost of a TIE fighter?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
Jumping Numbers
Can a dragon be stuck looking like a human?
Pre-1980's science fiction short story: alien disguised as a woman shot by a gangster, has tentacles coming out of her breasts when remaking her body
Explain the objections to these measures against human trafficking
Every character has a name - does this lead to too many named characters?
What is this metal M-shaped device for?
Checking for the existence of multiple directories
Should I write a companion book/blog?
Contest math problem about crossing out numbers in the table
Am I a Rude Number?
Slow moving projectiles from a hand-held weapon - how do they reach the target?
How would a Dictatorship make a country more successful?
Why would the Pakistan airspace closure cancel flights not headed to Pakistan itself?
Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?
Is a debit card dangerous for an account with low balance and no overdraft protection?
Dilemma of explaining to interviewer that he is the reason for declining second interview
Isn't using the Extrusion Multiplier like cheating?
Can a person refuse a presidential pardon?
Packer build of a virtualbox windows 7 ISO hangs
Installing VirtualBox 4.0.8 on Windows 7 hangsRebooting Windows 7 in VirtualBox after Windows Updates hangsWindows XP virtual machine hangs in VirtualBoxwindows ISO file to use with VirtualBoxAfter doubling virtual disk size in VirtualBox, fdisk -l still shows old disk size in guest CentOSGuidelines to build portable VirtualBox imagesNetworking not working on Packer created Ubuntu VirtualBox VMPacker build hangs on SSH when building Win 2012 Server + VirtualboxUsing OSX or Linux, how to create a Win7 OS on a flash drive - not for installing Win7 - I need the runnable OS?How to install and run docker in windows 10 home edition
When I am building a win 7 box using packer, it hangs waiting for SSH to be available:
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///vb/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: file:///home/foo/win7_prof.iso
==> virtualbox-iso: Creating floppy disk...
virtualbox-iso: Copying: ./answer_files/7/Autounattend.xml
virtualbox-iso: Copying: ./scripts/dis-updates.ps1
virtualbox-iso: Copying: ./scripts/microsoft-updates.bat
virtualbox-iso: Copying: ./scripts/win-updates.ps1
virtualbox-iso: Copying: ./scripts/openssh.ps1
virtualbox-iso: Copying: ./scripts/oracle-cert.cer
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Attaching floppy disk...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3143)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --memory 2048
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --cpus 2
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 2m0s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for SSH to become available...
Any experience with resolving this ?
windows-7 ssh virtualbox packer
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
When I am building a win 7 box using packer, it hangs waiting for SSH to be available:
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///vb/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: file:///home/foo/win7_prof.iso
==> virtualbox-iso: Creating floppy disk...
virtualbox-iso: Copying: ./answer_files/7/Autounattend.xml
virtualbox-iso: Copying: ./scripts/dis-updates.ps1
virtualbox-iso: Copying: ./scripts/microsoft-updates.bat
virtualbox-iso: Copying: ./scripts/win-updates.ps1
virtualbox-iso: Copying: ./scripts/openssh.ps1
virtualbox-iso: Copying: ./scripts/oracle-cert.cer
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Attaching floppy disk...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3143)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --memory 2048
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --cpus 2
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 2m0s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for SSH to become available...
Any experience with resolving this ?
windows-7 ssh virtualbox packer
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Initially I also wondered why it hangs (btw, I'm on Linux). In my case it was working fine (no hangs), but virtualbox was in headless mode and I didn't see any activity. In your template file, try adding"headless": falsein virtualbox builder and see what happens. Please report back.
– Paolo
Feb 15 '15 at 18:54
How long do you let it sit at the Waiting for SSH to become available... before you came to the assumption that it's just hung up?
– Kuberchaun
Aug 21 '15 at 21:15
add a comment |
When I am building a win 7 box using packer, it hangs waiting for SSH to be available:
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///vb/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: file:///home/foo/win7_prof.iso
==> virtualbox-iso: Creating floppy disk...
virtualbox-iso: Copying: ./answer_files/7/Autounattend.xml
virtualbox-iso: Copying: ./scripts/dis-updates.ps1
virtualbox-iso: Copying: ./scripts/microsoft-updates.bat
virtualbox-iso: Copying: ./scripts/win-updates.ps1
virtualbox-iso: Copying: ./scripts/openssh.ps1
virtualbox-iso: Copying: ./scripts/oracle-cert.cer
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Attaching floppy disk...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3143)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --memory 2048
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --cpus 2
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 2m0s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for SSH to become available...
Any experience with resolving this ?
windows-7 ssh virtualbox packer
When I am building a win 7 box using packer, it hangs waiting for SSH to be available:
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///vb/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: file:///home/foo/win7_prof.iso
==> virtualbox-iso: Creating floppy disk...
virtualbox-iso: Copying: ./answer_files/7/Autounattend.xml
virtualbox-iso: Copying: ./scripts/dis-updates.ps1
virtualbox-iso: Copying: ./scripts/microsoft-updates.bat
virtualbox-iso: Copying: ./scripts/win-updates.ps1
virtualbox-iso: Copying: ./scripts/openssh.ps1
virtualbox-iso: Copying: ./scripts/oracle-cert.cer
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Attaching floppy disk...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 3143)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --memory 2048
virtualbox-iso: Executing: modifyvm packer-virtualbox-iso-1420575242 --cpus 2
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 2m0s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for SSH to become available...
Any experience with resolving this ?
windows-7 ssh virtualbox packer
windows-7 ssh virtualbox packer
edited Feb 15 '15 at 19:57
Paolo
184215
184215
asked Jan 6 '15 at 21:16
socgen hackersocgen hacker
112119
112119
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Initially I also wondered why it hangs (btw, I'm on Linux). In my case it was working fine (no hangs), but virtualbox was in headless mode and I didn't see any activity. In your template file, try adding"headless": falsein virtualbox builder and see what happens. Please report back.
– Paolo
Feb 15 '15 at 18:54
How long do you let it sit at the Waiting for SSH to become available... before you came to the assumption that it's just hung up?
– Kuberchaun
Aug 21 '15 at 21:15
add a comment |
Initially I also wondered why it hangs (btw, I'm on Linux). In my case it was working fine (no hangs), but virtualbox was in headless mode and I didn't see any activity. In your template file, try adding"headless": falsein virtualbox builder and see what happens. Please report back.
– Paolo
Feb 15 '15 at 18:54
How long do you let it sit at the Waiting for SSH to become available... before you came to the assumption that it's just hung up?
– Kuberchaun
Aug 21 '15 at 21:15
Initially I also wondered why it hangs (btw, I'm on Linux). In my case it was working fine (no hangs), but virtualbox was in headless mode and I didn't see any activity. In your template file, try adding
"headless": false in virtualbox builder and see what happens. Please report back.– Paolo
Feb 15 '15 at 18:54
Initially I also wondered why it hangs (btw, I'm on Linux). In my case it was working fine (no hangs), but virtualbox was in headless mode and I didn't see any activity. In your template file, try adding
"headless": false in virtualbox builder and see what happens. Please report back.– Paolo
Feb 15 '15 at 18:54
How long do you let it sit at the Waiting for SSH to become available... before you came to the assumption that it's just hung up?
– Kuberchaun
Aug 21 '15 at 21:15
How long do you let it sit at the Waiting for SSH to become available... before you came to the assumption that it's just hung up?
– Kuberchaun
Aug 21 '15 at 21:15
add a comment |
1 Answer
1
active
oldest
votes
Packer currently requires that an SSH server is installed and running in the guest OS (virtual machine).
Edit Autounattend.xml and add the command that installs OpenSSH. Make sure it's the last command and that the Order is correct.
Reference:
https://github.com/joefitzgerald/packer-windows/issues/141#issuecomment-82056372
For an example command and script that installs OpenSSH, see https://github.com/joefitzgerald/packer-windows/blob/master/answer_files/7/Autounattend.xml and https://github.com/joefitzgerald/packer-windows/blob/develop/scripts/openssh.ps1
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f861492%2fpacker-build-of-a-virtualbox-windows-7-iso-hangs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Packer currently requires that an SSH server is installed and running in the guest OS (virtual machine).
Edit Autounattend.xml and add the command that installs OpenSSH. Make sure it's the last command and that the Order is correct.
Reference:
https://github.com/joefitzgerald/packer-windows/issues/141#issuecomment-82056372
For an example command and script that installs OpenSSH, see https://github.com/joefitzgerald/packer-windows/blob/master/answer_files/7/Autounattend.xml and https://github.com/joefitzgerald/packer-windows/blob/develop/scripts/openssh.ps1
add a comment |
Packer currently requires that an SSH server is installed and running in the guest OS (virtual machine).
Edit Autounattend.xml and add the command that installs OpenSSH. Make sure it's the last command and that the Order is correct.
Reference:
https://github.com/joefitzgerald/packer-windows/issues/141#issuecomment-82056372
For an example command and script that installs OpenSSH, see https://github.com/joefitzgerald/packer-windows/blob/master/answer_files/7/Autounattend.xml and https://github.com/joefitzgerald/packer-windows/blob/develop/scripts/openssh.ps1
add a comment |
Packer currently requires that an SSH server is installed and running in the guest OS (virtual machine).
Edit Autounattend.xml and add the command that installs OpenSSH. Make sure it's the last command and that the Order is correct.
Reference:
https://github.com/joefitzgerald/packer-windows/issues/141#issuecomment-82056372
For an example command and script that installs OpenSSH, see https://github.com/joefitzgerald/packer-windows/blob/master/answer_files/7/Autounattend.xml and https://github.com/joefitzgerald/packer-windows/blob/develop/scripts/openssh.ps1
Packer currently requires that an SSH server is installed and running in the guest OS (virtual machine).
Edit Autounattend.xml and add the command that installs OpenSSH. Make sure it's the last command and that the Order is correct.
Reference:
https://github.com/joefitzgerald/packer-windows/issues/141#issuecomment-82056372
For an example command and script that installs OpenSSH, see https://github.com/joefitzgerald/packer-windows/blob/master/answer_files/7/Autounattend.xml and https://github.com/joefitzgerald/packer-windows/blob/develop/scripts/openssh.ps1
answered Mar 17 '15 at 21:02
Rami A.Rami A.
108114
108114
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f861492%2fpacker-build-of-a-virtualbox-windows-7-iso-hangs%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Initially I also wondered why it hangs (btw, I'm on Linux). In my case it was working fine (no hangs), but virtualbox was in headless mode and I didn't see any activity. In your template file, try adding
"headless": falsein virtualbox builder and see what happens. Please report back.– Paolo
Feb 15 '15 at 18:54
How long do you let it sit at the Waiting for SSH to become available... before you came to the assumption that it's just hung up?
– Kuberchaun
Aug 21 '15 at 21:15