Remove /var/db/cloud-instance file on -u
This commit is contained in:
parent
b8ae4a13fc
commit
3be9707418
1 changed files with 3 additions and 1 deletions
|
@ -935,8 +935,10 @@ agent_unconfigure(void)
|
|||
|
||||
(void)fileout("permit keepenv persist :wheel as root\n"
|
||||
"permit keepenv nopass root\n", "w", "/etc/doas.conf");
|
||||
}
|
||||
|
||||
/* Remove cloud-instance file */
|
||||
(void)unlink("/var/db/cloud-instance");
|
||||
}
|
||||
|
||||
static char *
|
||||
metadata_parse(char *s, size_t sz, enum strtype type)
|
||||
|
|
Loading…
Reference in a new issue