From 7ca1667ccb0c9ddb00da30481cc9ab0f8abac2c2 Mon Sep 17 00:00:00 2001 From: vistaarjuneja Date: Mon, 15 Apr 2024 18:24:50 +0100 Subject: [PATCH] restart docker --- internal/cloudinit/cloudinit.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/cloudinit/cloudinit.go b/internal/cloudinit/cloudinit.go index b6913ea9..f423f119 100644 --- a/internal/cloudinit/cloudinit.go +++ b/internal/cloudinit/cloudinit.go @@ -501,6 +501,10 @@ if (${{ .IsHosted }} -eq $true) { ipconfig /flushdns Write-Host "DNS server added to Ethernet interface." } + +echo "[DRONE] Restarting docker" +restart-service *docker* + echo "[DRONE] Initialization Complete" `