This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
pre_tasks: | |
- name: upgrade all packages | |
yum: | |
name: '*' | |
state: latest | |
- name: install systemd | |
yum: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fedora:rawhide | |
MAINTAINER “Dan Walsh” <dwalsh@redhat.com> | |
ENV container docker | |
RUN yum -y update; yum clean all | |
RUN yum -y install systemd; yum clean all; | |
(cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); | |
rm -f /lib/systemd/system/multi-user.target.wants/*; | |
rm -f /etc/systemd/system/*.wants/*; | |
rm -f /lib/systemd/system/local-fs.target.wants/*; | |
rm -f /lib/systemd/system/sockets.target.wants/*udev*; |
NewerOlder