I came across this myself last week. It's another Cygwin 1.7 problem.
When you run a Cygwin command such as sed and pass it a non-Cygwin
formatted path you get this warning:
CYGWIN environment variable option "nodosfilewarning" turns off this warning
This is throwing off the post-load code which sanitizes various files.
If you run the command a 2nd time it runs normally. I have written the
code to overcome the problem but haven't committed it yet.
You can fix your image by modifying cygwin-sshd-config.sh, running it,
and then gen-node-keys.sh again.
Find this line:
ssh-host-config -y -c ntsec -w "$PASSWORD"
Change it to:
ssh-host-config -y -c "ntsec nodosfilewarning" -w "$PASSWORD"
You'll need to make an imaging reservation. Once the load fails, change
the request state, laststate, and computer state in the database to
inuse. You should be able to ssh into it from the management node.
Perform the steps above then save a new revision of the image.
Hope this helps,
Andy
Roger Herling wrote:
using 2.2.1 with win7 x64 and cygwin 1.7.
Image captured fine but when you go to load it you get this failure even
though the machine boots like it should
|26750|277:243|new| cygwin warning:
|26750|277:243|new| MS-DOS style path detected: C:\Windows/System32/sysprep
|26750|277:243|new| Preferred POSIX equivalent is:
/cygdrive/c/Windows/System32/sysprep
|26750|277:243|new| CYGWIN environment variable option
"nodosfilewarning" turns off this warning.
|26750|277:243|new| Consult the user's guide for more details about
POSIX paths:
|26750|277:243|new|
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
2011-05-04 16:52:19|3516|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-05-04 16:52:19
|26750|277:243|new| WARNING
|26750|277:243|new| 2011-05-04
16:52:21|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file
was not found: cygwin warning:, sed output:
|26750|277:243|new| /bin/sed: can't read cygwin warning:: No such file
or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line:
6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)
|26750|277:243|new| WARNING
|26750|277:243|new| 2011-05-04
16:52:23|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file
was not found: MS-DOS style path detected:
C:/Windows/System32/sysprep, sed output:
|26750|277:243|new| /bin/sed: can't read MS-DOS style path detected:
C:/Windows/System32/sysprep: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line:
6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)
2011-05-04 16:52:24|3516|vcld:main(166)|lastcheckin time updated for
management node 1: 2011-05-04 16:52:24
|26750|277:243|new| WARNING
|26750|277:243|new| 2011-05-04
16:52:24|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file
was not found: Preferred POSIX equivalent is:
/cygdrive/c/Windows/System32/sysprep, sed output:
|26750|277:243|new| /bin/sed: can't read Preferred POSIX equivalent
is: /cygdrive/c/Windows/System32/sysprep: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line:
6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)
|26750|277:243|new| WARNING
|26750|277:243|new| 2011-05-04
16:52:26|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file
was not found: CYGWIN environment variable option "nodosfilewarning"
turns off this warning., sed output:
|26750|277:243|new| /bin/sed: can't read CYGWIN environment variable
option nodosfilewarning turns off this warning.: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line:
6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_lo