Commit 5eb9c5c
committed
feat(get-facts): node creation_date
Extract the node creation date by looking at the birth date of some
files, created at NS8 installation time.
Using system's "stat" command because it provides better filesystem
birth date compatibility than Python 3.11.1 parent f479091 commit 5eb9c5c
File tree
1 file changed
+16
-1
lines changed- core/imageroot/var/lib/nethserver/node/actions/get-facts
1 file changed
+16
-1
lines changedLines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
27 | 41 | | |
28 | 42 | | |
29 | 43 | | |
| |||
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
| 111 | + | |
97 | 112 | | |
98 | 113 | | |
99 | 114 | | |
| |||
0 commit comments