Skip to content

Commit 5f3238c

Browse files
cleanup rbd 서비스 및 타이머 추가
1 parent ed75a63 commit 5f3238c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/cluster/cluster_config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ def insert(args):
208208
if args.type == "ablestack-vm" or args.type == "powerflex":
209209
os.system("systemctl enable --now auto-umount.service")
210210
os.system("systemctl enable --now auto-umount.timer")
211+
elif args.type == "ablestack-hci":
212+
os.system("systemctl enable --now cleanup-rbd.service")
213+
os.system("systemctl enable --now cleanup-rbd.timer")
211214

212215
# hosts 파일 복사 실패시 3번 시도까지 하도록 개선
213216
result = {}

0 commit comments

Comments
 (0)