Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

虚拟机延迟启动功能

Featured Replies

目前Docker可以设定开机后延迟启动时长,但是虚拟机好像没有这个选项可以设置,不知道什么原因我的群晖虚拟机在启动时有概率无法正常启动,只能强制停机后重启开启才能正常访问,小白一个不太看得懂日志,怀疑可能是因为直通的硬盘在启动是没有被群晖挂载到,所以希望可以使用延迟启动虚拟机的功能,目前有现成的办法比如脚本来实现吗?

2 hours ago, ukiyoec said:

目前Docker可以设定开机后延迟启动时长,但是虚拟机好像没有这个选项可以设置,不知道什么原因我的群晖虚拟机在启动时有概率无法正常启动,只能强制停机后重启开启才能正常访问,小白一个不太看得懂日志,怀疑可能是因为直通的硬盘在启动是没有被群晖挂载到,所以希望可以使用延迟启动虚拟机的功能,目前有现成的办法比如脚本来实现吗?

docker怎么设延迟?

  • Author
1 hour ago, ms2003 said:

docker怎么设延迟?

6.10.3原生支持,在开机自动启动按钮下方有个等待,可以填写秒数

11 hours ago, ukiyoec said:

6.10.3原生支持,在开机自动启动按钮下方有个等待,可以填写秒数

看到了,原来要在高级模式下

  • 5 weeks later...

我也需要这个功能~请问楼主解决了没有?请告知方法,感谢~

25 minutes ago, gxlwrc said:

我也需要这个功能~请问楼主解决了没有?请告知方法,感谢~

使用User Scripts插件,虚拟机的开机自启动关闭,脚本如下:

Quote

#!/bin/bash
sleep 3m  // 阵列启动后延迟多少分钟,自己设置
virsh start vm1   // vm1为虚拟机名称
virsh start vm2  // vm2为虚拟机名称

 

image.thumb.png.77ccca8b2337239968c74626b85236db.png

  • 4 weeks later...
On 10/13/2022 at 11:20 AM, ukiyoecb said:

使用User Scripts插件,虚拟机的开机自启动关闭,脚本如下:

 

image.thumb.png.77ccca8b2337239968c74626b85236db.png

感谢~~

感谢!受益匪浅啊,正好碰到类似问题,来了就有收获!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.