Giter VIP home page Giter VIP logo

Comments (10)

baby-gnu avatar baby-gnu commented on August 22, 2024 1

Got the grains:

Thanks @myii, @aboe76 put some in the initial ticket.

from libvirt-formula.

myii avatar myii commented on August 22, 2024 1
        if [ -f /bin/systemctl ]; then

Any 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.

baby-gnu avatar baby-gnu commented on August 22, 2024

Thanks a lot @aboe76

from libvirt-formula.

baby-gnu avatar baby-gnu commented on August 22, 2024

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.

myii avatar myii commented on August 22, 2024

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.

https://github.com/saltstack/salt-bootstrap/blob/18e906334997a37047f9699705e855990a1fb96b/bootstrap-salt.sh#L6541

        if [ -f /bin/systemctl ]; then

Any ideas of how this could be resolved?

from libvirt-formula.

baby-gnu avatar baby-gnu commented on August 22, 2024

@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.

myii avatar myii commented on August 22, 2024

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.

myii avatar myii commented on August 22, 2024

@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.

myii avatar myii commented on August 22, 2024

@aboe76 @baby-gnu Once this is merged, we can get pre-salted images built for Tumbleweed:

from libvirt-formula.

baby-gnu avatar baby-gnu commented on August 22, 2024

Closed with #83

from libvirt-formula.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.