-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e: Linux AMI setup cleanup (#8821)
As we add new Linux targets for E2E, the existing setup.sh script will be used only for Ubuntu. Rather than have the service and config files echo'd from the script, move them into files we upload so they can be reused. Includes some general noise reduction in the setup.sh script and removal of unused bits.
- Loading branch information
Showing
5 changed files
with
76 additions
and
97 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
port=53 | ||
resolv-file=/var/run/dnsmasq/resolv.conf | ||
bind-interfaces | ||
interface=docker0 | ||
interface=lo | ||
interface=eth0 | ||
listen-address=127.0.0.1 | ||
server=/consul/127.0.0.1#8600 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=Podman Remote API Service | ||
Requires=io.podman.socket | ||
After=io.podman.socket | ||
Documentation=man:podman-varlink(1) | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/usr/bin/podman varlink unix:%t/podman/io.podman --timeout=60000 | ||
TimeoutStopSec=30 | ||
KillMode=process | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
Also=io.podman.socket |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Podman Remote API Socket | ||
Documentation=man:podman-varlink(1) https://podman.io/blogs/2019/01/16/podman-varlink.html | ||
|
||
[Socket] | ||
ListenStream=%t/podman/io.podman | ||
SocketMode=0600 | ||
|
||
[Install] | ||
WantedBy=sockets.target |
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
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