-
-
Save domcleal/7562599 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/db/migrate/20100523114430_add_ubuntu_custom_lvm_ptable.rb b/db/migrate/20100523114430_add_ubuntu_custom_lvm_ptable.rb | |
| index 786219c..93920e5 100644 | |
| --- a/db/migrate/20100523114430_add_ubuntu_custom_lvm_ptable.rb | |
| +++ b/db/migrate/20100523114430_add_ubuntu_custom_lvm_ptable.rb | |
| @@ -1,6 +1,6 @@ | |
| class AddUbuntuCustomLvmPtable < ActiveRecord::Migration | |
| def self.up | |
| - Ptable.create :name => "Ubuntu custom LVM", :layout => <<EOF | |
| + p = Ptable.new :name => "Ubuntu custom LVM", :layout => <<EOF | |
| d-i partman-auto/disk string /dev/sda | |
| d-i partman-auto/method string lvm | |
| @@ -59,6 +59,7 @@ d-i partman/choose_partition select finish | |
| d-i partman/confirm boolean true | |
| d-i partman/confirm_nooverwrite boolean true | |
| EOF | |
| + p.save_without_auditing | |
| end | |
| def self.down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment