Last active
May 1, 2021 08:15
-
-
Save ybelleguic/5fa2a50443e6bd05cde53b3fd33a3d5c to your computer and use it in GitHub Desktop.
minikube systemd unit
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
[Unit] | |
Description=Minikube Service | |
After=libvirtd.service | |
After=libvirtd.socket | |
After=network-online.target | |
After=libvirt-guests.service | |
[Service] | |
Type=oneshot | |
User=Yohan.Belleguic | |
Group=Yohan.Belleguic | |
ExecStart=minikube start --driver=kvm2 --insecure-registry "192.168.39.0/24" | |
ExecStop=minikube stop | |
Environment="NO_PROXY=localhost,192.168.39.0/24" "HTTP_PROXY=192.168.39.1:8888" "HTTPS_PROXY=192.168.39.1:8888" "http_proxy=192.168.39.1:8888" "https_proxy=192.168.39.1:8888" | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment