how to determine when we'll enter the other deployment on reboot



Hello,

We're currently using "ostree admin switch <REF>" to prepare our machine to enter a new deployment once a reboot occurs.

One of our application developers asked me how it is possible for them to check if we'll enter a new deployment once a reboot takes place. 

They're not  satisfied with me running the switch command and then informing them via IPC that a switch is about to occur.

Instead they'd rather run some command themselves or check something in the filesystem to know if a switch is about to happen.

Is there any easy way to do this?

Thank you,

Davis

  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]