Skip to content
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

Debian 9 support #33

Closed
OndrejHome opened this issue Mar 7, 2018 · 5 comments

Comments

Projects
None yet
1 participant
@OndrejHome
Copy link
Owner

commented Mar 7, 2018

Proof of concept on Debian 9.3:

  • apt-get install libvirt-daemon libvirt-clients libvirt-daemon-system pv ovmf bash-completion dnsmasq-utils make curl sudo thin-provisioning-tools gawk
  • make install installation works - will need a DEB package
  • need to change #!/bin/sh to #!/bin/bash in /usr/bin/fast-vm for proper operation
  • awk seems to match differently the strings here - I have to use awk '{ s=substr($0, 0, 5); print s; }' on https://github.com/OndrejHome/fast-vm/blob/master/fast-vm#L83 - seems to disappear when gawk is installed, need to further check
  • for public images we need guestfish command - apt-get install libguestfs-tools

Things that needs to be done:

  • fast-vm-public-images - debian 9.x image - so we have a stable testing environment
  • instructions in docs/user_guide.txt for Debian - bc34219
  • check why #!/bin/sh fails and fix places where needed
  • document packages needed on Debian for fast-vm-public-images
  • DEB package for Debian

Outlook is optimistic.

@OndrejHome OndrejHome self-assigned this Mar 7, 2018

@OndrejHome OndrejHome changed the title Debian 9 support? Debian 9 support Mar 10, 2018

@OndrejHome

This comment has been minimized.

Copy link
Owner Author

commented Mar 11, 2018

@OndrejHome OndrejHome added this to the 1.4 milestone Mar 11, 2018

@OndrejHome

This comment has been minimized.

Copy link
Owner Author

commented Mar 18, 2018

  • 02f92a3 - Testing DEB package: https://www.famera.cz/large_data/files/fast-vm_1.3.1_all.deb
  • package needed for public images to work is named libguestfs-tools - so installing it should be as simple as apt-get install libguestfs-tools - seems that we miss the selinux-relabel support here, using a image for libguestfs from other system with support for this works as workaround
@OndrejHome

This comment has been minimized.

Copy link
Owner Author

commented Mar 21, 2018

Installation of fast-vm under Debian:

# apt-get install gdebi-core
# wget https://www.famera.cz/large_data/files/fast-vm_1.3.1_all.deb
# gdebi fast-vm_1.3.1_all.deb

gdebi is used to resolve and install dependencies properly. In future having a repository might be a better approach so the updates can be delivered.

libguestfs-tools can also used the pre-compiled appliance that seems to work properly here with minor changes to system before it can be used (exporting ENV variable).

Basically this is now only missing the documentation in user guide.

@OndrejHome

This comment has been minimized.

Copy link
Owner Author

commented Mar 24, 2018

Ready for 1.4 release.

@OndrejHome

This comment has been minimized.

Copy link
Owner Author

commented May 8, 2018

released in 1.4

@OndrejHome OndrejHome closed this May 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.