Comments (10)
Got the grains:
Thanks @myii, @aboe76 put some in the initial ticket.
from libvirt-formula.
if [ -f /bin/systemctl ]; thenAny ideas of how this could be resolved?
@aboe76 Don't worry, I've figured it out. Need to ensure that the systemd
package is installed and the file to be checked is /usr/bin/systemctl
. Planning to put through a PR to the salt-bootstrap
. I've been able to test build a pre-salted image as well, so that should be available soon.
from libvirt-formula.
Thanks a lot @aboe76
from libvirt-formula.
To fix the bug, you could provide the file parameters/osfinger/openSUSE Tumbleweed-20210118.yaml
with the following content:
# -*- coding: utf-8 -*-
# vim: ft=yaml
#
# Setup variables specific to salt['config.get']('osfinger') == openSUSE Tumbleweed-20210118.
# You just need to add the key:values for this `osfinger` that differ
# from `defaults.yaml`.
#
# If you do not need to provide defaults via the `osfinger` config,
# you can remove this file or provide at least an empty dict, e.g.
# values: {}
---
values:
python2_pkg: ~
python3_pkg: python38-libvirt-python
...
I'll submit a PR to add that file.
from libvirt-formula.
To fix the bug, you could provide the file
parameters/osfinger/openSUSE Tumbleweed-20210118.yaml
with the following content:
@baby-gnu We may have to rethink the naming of that file, since that 20210118
value is probably going to change every day!
@aboe76 I thought I'd try to build some Tumbleweed pre-salted images but salt-bootstrap
is failing because the base Docker image doesn't have /bin/systemctl
.
if [ -f /bin/systemctl ]; then
Any ideas of how this could be resolved?
from libvirt-formula.
@baby-gnu We may have to rethink the naming of that file, since that
20210118
value is probably going to change every day!
Ok, we can use oscodename
for that case, no?
from libvirt-formula.
Ok, we can use
oscodename
for that case, no?
@baby-gnu I wanted to get some pre-salted images built so that I could investigate the platform a bit further. I may just hack the bootstrap script in order to do that. I'll let you know if I get anywhere.
from libvirt-formula.
@baby-gnu Got the grains:
grain | value |
---|---|
os | SUSE |
os_family | Suse |
oscodename | openSUSE Tumbleweed |
osfinger | openSUSE Tumbleweed-20210118 |
osfullname | openSUSE Tumbleweed |
osmajorrelease | 20210118 |
osrelease | '20210118’ |
osrelease_info | [20210118] |
So oscodename
it is. And from a verification perspective, we're going to need to treat like any other rolling release, so either using the -latest
suffix, or simply leaving it as opensuse-tumbleweed.yaml
.
from libvirt-formula.
@aboe76 @baby-gnu Once this is merged, we can get pre-salted images built for Tumbleweed:
from libvirt-formula.
Closed with #83
from libvirt-formula.
Related Issues (14)
- missing depency: gnutls-bin HOT 1
- formula should also manage libvirtd.conf HOT 5
- libvirt Service Name Incorrect on Ubuntu 16.10 HOT 6
- State 'libvirt.keys' was not found in SLS 'libvirt.keys' for Salt 2016.11.0 HOT 3
- unable to install only clients package without daemon and qemu stuff HOT 3
- State 'virt.keys' was not found in SLS 'libvirt.keys' for Salt 2017.7.3.0 HOT 3
- libvirt expected a string for 'tls_port' & 'tcp_port' in libvirtd.conf HOT 2
- Update this formula to the new standards HOT 1
- InSpec tests fail on new `fedora-31` pre-salted image HOT 7
- [BUG] When salt is installed via pip for python3 separate from system python3, State 'virt.keys' was not found in SLS 'libvirt.server.tls.certs' HOT 8
- Breaks when the osmajorrelease grain is missing. HOT 3
- [BUG] Formula not compatible with Debian 11
- [BUG] Formula not compatible with latest Arch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libvirt-formula.