Simplify repo structure.
This commit is contained in:
1 parent
fd2484b561
commit
6ab810814d
30 files changed
+689
-32
No files matched your search
@@ -0,0 +1,11 @@
|
||||
FROM quay.io/fedora/fedora:latest
|
||||
|
||||
RUN dnf -y install nginx && dnf clean all
|
||||
COPY ./hosting/nginx.conf /etc/nginx.conf
|
||||
COPY ./hosting/edge.ks /usr/share/nginx/html/
|
||||
|
||||
ARG commit
|
||||
ADD ${commit} /usr/share/nginx/html/repo
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ["/usr/sbin/nginx", "-c", "/etc/nginx.conf"]
|
||||
@@ -0,0 +1,19 @@
|
||||
lang en_US.UTF-8
|
||||
keyboard us
|
||||
timezone Etc/UTC --utc
|
||||
|
||||
text
|
||||
|
||||
ostreesetup --nogpg --osname=centos --remote=edge --url=http://192.168.1.107:8080/repo/ --ref=c9s/x86_64/edge
|
||||
autopart --nohome --fstype=ext4 --type=plain
|
||||
|
||||
rootpw --lock
|
||||
|
||||
user --name=jimmy --groups=wheel --plaintext --password="password"
|
||||
sshkey --username=jimmy "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHatbSn47a1Amv06Oap6Tfk7oWv4GLm2KJuz1uV41Egt jimmy@jimmy-7490"
|
||||
|
||||
%post --log=/root/ks-post.log
|
||||
passwd -e jimmy
|
||||
mkdir -p /etc/issue.d
|
||||
echo "IP Address: \4" > /etc/issue.d/current-ip.issue
|
||||
%end
|
||||
@@ -0,0 +1,13 @@
|
||||
events {
|
||||
|
||||
}
|
||||
|
||||
http {
|
||||
server{
|
||||
listen 8080;
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
}
|
||||
|
||||
pid /run/nginx.pid;
|
||||
daemon off;
|
||||
Reference in new issue
Block a user