Skip to content
This repository was archived by the owner on Jun 10, 2019. It is now read-only.

Stretch/kvm fails with for lack of generate-ssh-hostkeys #376

Closed
andrewbogott opened this issue May 2, 2017 · 2 comments
Closed

Stretch/kvm fails with for lack of generate-ssh-hostkeys #376

andrewbogott opened this issue May 2, 2017 · 2 comments

Comments

@andrewbogott
Copy link

I ran into this with a custom manifest, but using the built in stretch-virtio-partitions.yml manifest I still can't build an image. The build errors out with this traceback:

Traceback (most recent call last):
File "/usr/local/bin/bootstrap-vz", line 9, in
load_entry_point('bootstrap-vz==0.9.11', 'console_scripts', 'bootstrap-vz')()
File "/usr/local/lib/python2.7/dist-packages/bootstrap_vz-0.9.11-py2.7.egg/bootstrapvz/base/main.py", line 29, in main
dry_run=opts['--dry-run'])
File "/usr/local/lib/python2.7/dist-packages/bootstrap_vz-0.9.11-py2.7.egg/bootstrapvz/base/main.py", line 111, in run
tasklist.run(info=bootstrap_info, dry_run=dry_run)
File "/usr/local/lib/python2.7/dist-packages/bootstrap_vz-0.9.11-py2.7.egg/bootstrapvz/base/tasklist.py", line 44, in run
task.run(info)
File "/usr/local/lib/python2.7/dist-packages/bootstrap_vz-0.9.11-py2.7.egg/bootstrapvz/common/tasks/initd.py", line 22, in run
copy(src, dst)
File "/usr/lib/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/bootstrap_vz-0.9.11-py2.7.egg/bootstrapvz/common/assets/init.d/generate-ssh-hostkeys'

@andrewbogott
Copy link
Author

Indeed, common/assets doesn't seem to get installed at all by setup.py.

andrewbogott pushed a commit to andrewbogott/bootstrap-vz that referenced this issue May 2, 2017
There are probably more dirs missing but these two scratch my itch.

Fixes: andsens#376
@andsens
Copy link
Owner

andsens commented May 29, 2017

There, that should do it :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants