Revision 4e9d9e5d src/onedb/onedb

View differences:

src/onedb/onedb
473 473
        end
474 474
    end
475 475

  
476
    LIVE_ACTION_HELP = <<-EOT.unindent
477
        **WARNING**: This action is done while OpenNebula is running. Make
478
        a backup of the datasbase before executing.
479
    EOT
480

  
476 481
    ###########################################################################
477 482
    # Purge history
478 483
    ###########################################################################
479 484
    purge_history_desc = <<-EOT.unindent
480 485
        Deletes all but the last history records from non DONE VMs
486

  
487
        #{LIVE_ACTION_HELP}
481 488
    EOT
482 489

  
483 490
    command :'purge-history', purge_history_desc,
......
499 506
    ###########################################################################
500 507
    purge_done_desc = <<-EOT.unindent
501 508
        Deletes all VMs in DONE state
509

  
510
        #{LIVE_ACTION_HELP}
502 511
    EOT
503 512

  
504 513
    command :'purge-done', purge_done_desc,
......
546 555

  
547 556
            onedb change-body vm --expr LCM_STATE=8 \\
548 557
                '/VM/TEMPLATE/DISK/CACHE' --delete
558

  
559
        #{LIVE_ACTION_HELP}
549 560
    EOT
550 561

  
551 562
    command :'change-body', change_body_desc, :object, :xpath, [:value, nil],

Also available in: Unified diff