From 56ea4813758da816f5f44bc77330cc8e6e77fb86 Mon Sep 17 00:00:00 2001 From: Michio Honda Date: Mon, 2 Dec 2024 14:17:06 +0000 Subject: [PATCH] update to noble etc --- tm.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tm.py b/tm.py index b9a51e0..bfa06aa 100755 --- a/tm.py +++ b/tm.py @@ -58,8 +58,8 @@ namehelp = 'hostname (e.g., n04)' dtfmt = '%d/%m/%y' MAXDAYS = 7 -KERNELVERSION = '5.15.0-25-generic' -FSVERSION = 'jammy' +KERNELVERSION = '6.8.0-49-generic' +FSVERSION = 'noble' NETWORKNODE = 's01' class TmMsg(object): @@ -603,6 +603,8 @@ def filesystem(self, argv): cmd = 'tar xpf {} -C {} --strip-components 1'.format(srcp, dstp) print(cmd) self.run(cmd) + if cmd != 'delete': + return cmd = 'chown {}:{} {}'.format(self.sudo_user, self.sudo_user, dstp) print(cmd) self.run(cmd)