Hey Robson, Can you elaborate more on what you're trying to do and why you need to change the hostname?
I'm no expert, but I believe changing the hostname requires root, and s2i builds typically run as a nonprivileged user, so it's likely not possible to change the hostname from within the build at build time. On Thu, Sep 8, 2016 at 1:28 PM, Robson Ramos Barreto < [email protected]> wrote: > Hello Guys, > > Is there any way to set hostname when building a s2i ? > > Thank you > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > > -- Jonathan Yu, P.Eng. / Software Engineer, OpenShift by Red Hat / Twitter (@jawnsy) is the quickest way to my heart <https://twitter.com/jawnsy> *“A master in the art of living draws no sharp distinction between his work and his play; his labor and his leisure; his mind and his body; his education and his recreation. He hardly knows which is which. He simply pursues his vision of excellence through whatever he is doing, and leaves others to determine whether he is working or playing. To himself, he always appears to be doing both.”* — L. P. Jacks, Education through Recreation (1932), p. 1
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
