Are you building from git?

In the build-livecd script there is this line:

VERSION=${4:-$(git describe --abbrev=0 --tags)}

The file is not getting created properly, use parameter to set it to value
3.1.0 or something like that.

We need to fix that and make a default value of 99.99.99 or something like
that for ad-hoc builds.

LZ




On Wed, Dec 7, 2016 at 11:35 PM, Oleg Mcnoleg <[email protected]>
wrote:

> Thanks for the reply, the ISO I built shows 'Foreman Discovery Image v
> (20161204.1)' and /usr/share/fdi/VERSION is empty.
>
> Note that I downloaded from https://github.com/theforeman/
> foreman-discovery-image and build with build-livecd fdi-centos7.ks and
> build-livecd-root
>
> If I download the prebuilt iso (from the below) I am able to reboot
> discovered nodes from Foreman UI as expected. When booting this ISO I see
> 'Foreman Discovery Image v3.2.0 (20160920.1)' and /usr/share/fdi/VERSION
> shows 3.2.0
>
> Is the foreman-discovery-image from github v.3.2.0? In which case how to I
> add the version to load the correct API?
>
> I have raised a bug against the .zip extraction.
>
> Thanks a lot for the work here, this ISO is going to help a lot in our
> environment.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Later,
  Lukas @lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to