Skip to content

Commit

Permalink
update to noble etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Michio Honda committed Dec 2, 2024
1 parent 9886310 commit 56ea481
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 56ea481

Please sign in to comment.