Ignore:
Timestamp:
08/20/13 11:28:19 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
3d554ff
Parents:
70427a2
Message:

Update pc-sysinstall to now allow doing restores from a replicated
ZFS dataset via life-preserver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-sysinstall/backend/functions.sh

    reec2eb4 r8378d50  
    556556  echo_log "Upgrade finished!" 
    557557}; 
     558 
     559# We are restoring a ZFS replication 
     560restore_zfs() 
     561{ 
     562  # Lets start setting up the disk slices now 
     563  setup_disk_slice 
     564   
     565  # Disk setup complete, now lets parse WORKINGSLICES and setup the bsdlabels 
     566  setup_disk_label 
     567   
     568  # Now we've setup the bsdlabels, lets go ahead and run newfs / zfs  
     569  # to setup the filesystems 
     570  setup_filesystems 
     571 
     572  # We are ready to begin the restore process 
     573  do_zfs_restore 
     574 
     575  echo_log "Installation finished!" 
     576}; 
Note: See TracChangeset for help on using the changeset viewer.