/srv/irclogs.ubuntu.com/2017/11/30/#juju.txt

jose-phillipshi someone have idea01:04
jose-phillipshow to setup a extra interface to a lxd container while is deployed with juju01:04
jose-phillipsi need add extra network to a lxd container mapped to a extra interface01:05
jose-phillipsis possible do that?01:05
hmljose-phillips: you can create lxc profiles named juju-<model-name>; then deploy from a model with that name.01:09
jose-phillipshow i select the container profile with juju01:10
hmljose-phillips: i do this with the localhost cloud - not sure where to setup with containers nested in other clouds01:10
jose-phillipsjuju deploy --to lxd:1 openstack-dashboard01:10
hmljose-phillips: juju will auto-magically look for it - it’s found by creating it.01:11
hmljose-phillips: what cloud did you bootstrap?01:11
jose-phillipsmaas01:11
jose-phillipsand openstack01:11
jose-phillipsdeployed by juju01:12
hmljose-phillips: i’m not sure where the modified profile needs to exist in that case01:12
hmljose-phillips: perhaps if you check machine 1 for an lxc profile of juju-default?   juju does create an lxc profile for the models itself with a few necessary items01:20
jose-phillipsyeah but the main goal is do this setting from juju controller01:20
jose-phillipsso when the container is created is already setted up01:21
jose-phillipswith the second interface01:21
=== frankban|afk is now known as frankban
=== skay is now known as Guest54782
vdsis there a preferred way to install oracle java 8 in charms? I've only found thism so far: https://github.com/jamesbeedy/juju-layer-java15:26
bdxvds: that was an experiment based on layer-openjdk15:33
bdxvds: that made sense for me because I was already using layer-openjdk, but needed oracle java15:34
vdsbdx, how did the experiment go? :)15:39
bdxvds: I stole the super awesome layer-openjdk code and changed the bits to make it install oracle java such that I could use it as a drop in replacement to get my charms that were already using layer-openjdk to run oracle java15:39
bdxit went well, I mean, it works15:40
bdxthe side note here is that15:40
bdxI probably spent a total of 30 mins getting that to do what I needed15:40
bdxonce it worked I never looked back or touched the repo again15:41
bdxits not using the practices in some places15:41
bdxbest*15:42
bdxlike, automatically accepting the terms and conditions for the user15:42
bdxlike, you have no option to decline or accept the terms, and the charm just automatically masks and makes that decision for you15:43
bdxbut, if you don't care about things like that15:43
bdxits fair game15:43
bdxvds: if you are interested in using it, I'll move it to a legit repo and give it a few touch ups15:43
bdxlet me know15:43
vdsbdx, the only concern I have about it is the use of the PPA15:45
bdxvds: yeah, so that is configurable through the charm config I think15:47
bdxvds: depending on what you are doing (packaging a java app) ... there is a way cooler/more better way of doing packaging/delivery for java apps now, "snaps"15:49
bdxvds: have you looked into this much?15:49
vdsbdx, good suggestion, thanks15:51
bdxvds: https://docs.snapcraft.io/reference/plugins/15:52
bdxnp15:53
=== frankban is now known as frankban|afk
=== Guest54782 is now known as skay

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!