Skip to content

Commit

Permalink
Reenable systemd-timesyncd, except on virtualbox
Browse files Browse the repository at this point in the history
This commit attempts to add back the missing time synchronization feature
to Minikube that was removed earlier with #3476.

As mentioned in #1378 we have an alternative solution for time
synchronization for Oracle VirtualBox, so there we don't want to enable
systemd-timesyncd.

We are using systemd conditional activation on systemd-timesyncd and
exclude systems that have an oracle hypervisor hosting the vm (currently
that's virtualbox for our purposes).
  • Loading branch information
reegnz committed Aug 7, 2019
1 parent 40a1a98 commit 2a995a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[Unit]
ConditionVirtualization=!oracle
2 changes: 1 addition & 1 deletion deploy/iso/minikube-iso/configs/minikube_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ BR2_TARGET_ROOTFS_ISO9660=y
BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="$(BR2_EXTERNAL_MINIKUBE_PATH)/board/coreos/minikube/isolinux.cfg"
BR2_TARGET_SYSLINUX=y
BR2_PACKAGE_HOST_E2TOOLS=y
BR2_PACKAGE_SYSTEMD_TIMESYNCD=n
BR2_PACKAGE_SYSTEMD_TIMESYNCD=y

0 comments on commit 2a995a3

Please sign in to comment.